21 references to CompositionScopeDefinition
System.ComponentModel.Composition (21)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (1)
87
if (_catalog is
CompositionScopeDefinition
scopeDefinition)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeFactoryExport.cs (2)
15
private readonly
CompositionScopeDefinition
_catalog;
17
internal ScopeFactoryExport(ScopeManager scopeManager,
CompositionScopeDefinition
catalog, ComposablePartDefinition partDefinition, ExportDefinition exportDefinition) :
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (4)
13
private readonly
CompositionScopeDefinition
_scopeDefinition;
16
public ScopeManager(CatalogExportProvider catalogExportProvider,
CompositionScopeDefinition
scopeDefinition)
36
foreach (
CompositionScopeDefinition
childCatalog in _scopeDefinition.Children)
68
private ScopeFactoryExport CreateScopeExport(
CompositionScopeDefinition
childCatalog, ComposablePartDefinition partDefinition, ExportDefinition exportDefinition)
System\ComponentModel\Composition\Hosting\CompositionScopeDefinition.cs (11)
18
private IEnumerable<
CompositionScopeDefinition
> _children = Enumerable.Empty<
CompositionScopeDefinition
>();
22
/// Initializes a new instance of the <see cref="
CompositionScopeDefinition
"/> class.
27
/// Initializes a new instance of the <see cref="
CompositionScopeDefinition
"/> class.
31
public CompositionScopeDefinition(ComposablePartCatalog catalog, IEnumerable<
CompositionScopeDefinition
> children)
40
/// Initializes a new instance of the <see cref="
CompositionScopeDefinition
"/> class.
45
public CompositionScopeDefinition(ComposablePartCatalog catalog, IEnumerable<
CompositionScopeDefinition
> children, IEnumerable<ExportDefinition> publicSurface)
55
/// Initializes a new instance of the <see cref="
CompositionScopeDefinition
"/> class.
60
private void InitializeCompositionScopeDefinition(ComposablePartCatalog catalog, IEnumerable<
CompositionScopeDefinition
>? children, IEnumerable<ExportDefinition>? publicSurface)
109
public virtual IEnumerable<
CompositionScopeDefinition
> Children
124
/// the exports surfaced by the <see cref="
CompositionScopeDefinition
"/>.
System\ComponentModel\Composition\Hosting\CompositionScopeDefinitionDebuggerProxy.cs (3)
16
private readonly
CompositionScopeDefinition
_compositionScopeDefinition;
18
public CompositionScopeDefinitionDebuggerProxy(
CompositionScopeDefinition
compositionScopeDefinition)
38
public IEnumerable<
CompositionScopeDefinition
> Children