9 instantiations of AtomicComposition
System.ComponentModel.Composition (9)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (3)
390
using (var atomicComposition = new
AtomicComposition
(e.AtomicComposition))
708
using (var localAtomicComposition = new
AtomicComposition
(parentAtomicComposition))
786
using (var localAtomicComposition = new
AtomicComposition
(atomicComposition))
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (1)
50
using (var localAtomicComposition = new
AtomicComposition
(atomicComposition))
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (3)
51
using (var atomicComposition = new
AtomicComposition
())
106
using (var atomicComposition = new
AtomicComposition
())
188
using (var atomicComposition = new
AtomicComposition
())
System\ComponentModel\Composition\Hosting\ComposablePartExportProvider.cs (1)
252
using (var atomicComposition = new
AtomicComposition
())
System\ComponentModel\Composition\Hosting\DirectoryCatalog.cs (1)
609
using (var atomicComposition = new
AtomicComposition
())
58 references to AtomicComposition
System.ComponentModel.Composition (58)
System\ComponentModel\Composition\CompositionResult.cs (1)
69
public void ThrowOnErrors(
AtomicComposition
? atomicComposition)
System\ComponentModel\Composition\Hosting\AggregateExportProvider.cs (3)
30
/// executing <see cref="ExportProvider.GetExports(ImportDefinition,
AtomicComposition
)"/>.
75
/// executing <see cref="ExportProvider.GetExports(ImportDefinition,
AtomicComposition
)"/>.
156
protected override IEnumerable<Export> GetExportsCore(ImportDefinition definition,
AtomicComposition
? atomicComposition)
System\ComponentModel\Composition\Hosting\AtomicComposition.cs (2)
37
private readonly
AtomicComposition
? _outerAtomicComposition;
51
public AtomicComposition(
AtomicComposition
? outerAtomicComposition)
System\ComponentModel\Composition\Hosting\AtomicCompositionExtensions.cs (4)
9
internal static T GetValueAllowNull<T>(this
AtomicComposition
? atomicComposition, T defaultResultAndKey) where T : class
16
internal static T GetValueAllowNull<T>(this
AtomicComposition
? atomicComposition, object key, T defaultResult)
27
internal static void AddRevertActionAllowNull(this
AtomicComposition
? atomicComposition, Action action)
41
internal static void AddCompleteActionAllowNull(this
AtomicComposition
? atomicComposition, Action action)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (16)
32
protected override IEnumerable<Export> GetExportsCore(ImportDefinition definition,
AtomicComposition
? atomicComposition)
297
protected override IEnumerable<Export> GetExportsCore(ImportDefinition definition,
AtomicComposition
? atomicComposition)
311
private List<Export> InternalGetExportsCore(ImportDefinition definition,
AtomicComposition
? atomicComposition)
390
using (
var
atomicComposition = new AtomicComposition(e.AtomicComposition))
547
private void ReleasePart(object exportedValue, CatalogPart catalogPart,
AtomicComposition
atomicComposition)
555
private void DisposePart(object? exportedValue, CatalogPart catalogPart,
AtomicComposition
? atomicComposition)
642
private bool IsRejected(ComposablePartDefinition definition,
AtomicComposition
? atomicComposition)
693
private bool EnsureRejection(
AtomicComposition
? atomicComposition)
698
private bool DetermineRejection(ComposablePartDefinition definition,
AtomicComposition
? parentAtomicComposition)
708
using (
var
localAtomicComposition = new AtomicComposition(parentAtomicComposition))
784
private void UpdateRejections(IEnumerable<ExportDefinition> changedExports,
AtomicComposition
? atomicComposition)
786
using (
var
localAtomicComposition = new AtomicComposition(atomicComposition))
909
private AtomicCompositionQueryState QueryPartState(
AtomicComposition
atomicComposition, ComposablePartDefinition definition)
922
private PartQueryStateNode? GetPartQueryStateNode(
AtomicComposition
atomicComposition)
929
AtomicComposition
atomicComposition,
938
AtomicComposition
atomicComposition,
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (2)
25
protected override IEnumerable<Export> GetExportsCore(ImportDefinition definition,
AtomicComposition
? atomicComposition)
50
using (
var
localAtomicComposition = new AtomicComposition(atomicComposition))
System\ComponentModel\Composition\Hosting\ComposablePartCatalogChangeEventArgs.cs (2)
42
IEnumerable<ComposablePartDefinition> removedDefinitions,
AtomicComposition
? atomicComposition)
98
public
AtomicComposition
? AtomicComposition { get; }
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (4)
51
using (
var
atomicComposition = new AtomicComposition())
106
using (
var
atomicComposition = new AtomicComposition())
188
using (
var
atomicComposition = new AtomicComposition())
317
AtomicComposition
? atomicComposition)
System\ComponentModel\Composition\Hosting\ComposablePartExportProvider.cs (3)
197
protected override IEnumerable<Export>? GetExportsCore(ImportDefinition definition,
AtomicComposition
? atomicComposition)
252
using (
var
atomicComposition = new AtomicComposition())
352
private void Recompose(CompositionBatch batch,
AtomicComposition
atomicComposition)
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (1)
566
protected override IEnumerable<Export>? GetExportsCore(ImportDefinition definition,
AtomicComposition
? atomicComposition)
System\ComponentModel\Composition\Hosting\DirectoryCatalog.cs (1)
609
using (
var
atomicComposition = new AtomicComposition())
System\ComponentModel\Composition\Hosting\ExportProvider.cs (4)
97
public IEnumerable<Export> GetExports(ImportDefinition definition,
AtomicComposition
? atomicComposition)
144
public bool TryGetExports(ImportDefinition definition,
AtomicComposition
? atomicComposition, out IEnumerable<Export>? exports)
174
protected abstract IEnumerable<Export>? GetExportsCore(ImportDefinition definition,
AtomicComposition
? atomicComposition);
208
private ExportCardinalityCheckResult TryGetExportsCore(ImportDefinition definition,
AtomicComposition
? atomicComposition, out IEnumerable<Export>? exports)
System\ComponentModel\Composition\Hosting\ExportsChangeEventArgs.cs (2)
45
IEnumerable<ExportDefinition> removedExports,
AtomicComposition
? atomicComposition)
116
public
AtomicComposition
? AtomicComposition { get; }
System\ComponentModel\Composition\Hosting\ImportEngine.cs (12)
83
public void PreviewImports(ComposablePart part,
AtomicComposition
? atomicComposition)
225
/// The <see cref="
AtomicComposition
"/> that the release imports is running under.
227
public void ReleaseImports(ComposablePart part,
AtomicComposition
? atomicComposition)
291
ComposablePart part,
AtomicComposition
? atomicComposition)
451
IEnumerable<ImportDefinition> imports,
AtomicComposition
? atomicComposition)
491
AtomicComposition
? atomicComposition = e.AtomicComposition;
519
IEnumerable<ExportDefinition> changedExports,
AtomicComposition
? atomicComposition)
568
ImportDefinition import,
AtomicComposition
? atomicComposition)
606
private void StartSatisfyingImports(PartManager partManager,
AtomicComposition
? atomicComposition)
626
private void StopSatisfyingImports(PartManager partManager,
AtomicComposition
? atomicComposition)
687
private EngineContext GetEngineContext(
AtomicComposition
atomicComposition)
738
ComposablePart part, ImportDefinition definition,
AtomicComposition
? atomicComposition)
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (1)
93
public void SetSavedImport(ImportDefinition import, Export[]? exports,
AtomicComposition
? atomicComposition)