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