3 instantiations of CatalogPart
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (3)
452
catalogPart = new
CatalogPart
(part);
488
catalogPart = new
CatalogPart
(newPart);
742
_activatedParts.Add(definition, new
CatalogPart
(newPart));
16 references to CatalogPart
System.ComponentModel.Composition (16)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.CatalogExport.cs (6)
42
protected
CatalogPart
GetPartCore()
47
protected void DisposePartCore(
CatalogPart
part, object? value)
52
protected virtual
CatalogPart
GetPart()
121
private
CatalogPart
? _part;
130
protected override
CatalogPart
GetPart()
135
CatalogPart
? part = GetPartCore();
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (10)
39
private readonly Dictionary<ComposablePartDefinition,
CatalogPart
> _activatedParts = new Dictionary<ComposablePartDefinition,
CatalogPart
>();
404
CatalogPart
? removedPart = null;
438
private
CatalogPart
GetComposablePart(ComposablePartDefinition partDefinition, bool isSharedPart)
443
CatalogPart
catalogPart;
466
private
CatalogPart
GetSharedPart(ComposablePartDefinition partDefinition)
468
CatalogPart
? catalogPart = null;
508
private object? GetExportedValue(
CatalogPart
part, ExportDefinition export, bool isSharedPart)
547
private void ReleasePart(object exportedValue,
CatalogPart
catalogPart, AtomicComposition atomicComposition)
555
private void DisposePart(object? exportedValue,
CatalogPart
catalogPart, AtomicComposition? atomicComposition)