CompositionScopeDefinition Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CompositionScopeDefinition class.
Overloads
CompositionScopeDefinition() |
Initializes a new instance of the CompositionScopeDefinition class. |
CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>) |
Initializes a new instance of the CompositionScopeDefinition class with the specified underlying catalog and children. |
CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>, IEnumerable<ExportDefinition>) |
Initializes a new instance of the CompositionScopeDefinition class with the specified underlying catalog, children, and public surface. |
CompositionScopeDefinition()
Initializes a new instance of the CompositionScopeDefinition class.
protected:
CompositionScopeDefinition();
protected CompositionScopeDefinition ();
Protected Sub New ()
Applies to
CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>)
Initializes a new instance of the CompositionScopeDefinition class with the specified underlying catalog and children.
public:
CompositionScopeDefinition(System::ComponentModel::Composition::Primitives::ComposablePartCatalog ^ catalog, System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Hosting::CompositionScopeDefinition ^> ^ children);
public CompositionScopeDefinition (System.ComponentModel.Composition.Primitives.ComposablePartCatalog catalog, System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Hosting.CompositionScopeDefinition> children);
new System.ComponentModel.Composition.Hosting.CompositionScopeDefinition : System.ComponentModel.Composition.Primitives.ComposablePartCatalog * seq<System.ComponentModel.Composition.Hosting.CompositionScopeDefinition> -> System.ComponentModel.Composition.Hosting.CompositionScopeDefinition
Public Sub New (catalog As ComposablePartCatalog, children As IEnumerable(Of CompositionScopeDefinition))
Parameters
- catalog
- ComposablePartCatalog
The underlying catalog for this catalog.
- children
- IEnumerable<CompositionScopeDefinition>
A collection of the child scopes of this catalog.
Applies to
CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>, IEnumerable<ExportDefinition>)
Initializes a new instance of the CompositionScopeDefinition class with the specified underlying catalog, children, and public surface.
public:
CompositionScopeDefinition(System::ComponentModel::Composition::Primitives::ComposablePartCatalog ^ catalog, System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Hosting::CompositionScopeDefinition ^> ^ children, System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ExportDefinition ^> ^ publicSurface);
public CompositionScopeDefinition (System.ComponentModel.Composition.Primitives.ComposablePartCatalog catalog, System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Hosting.CompositionScopeDefinition> children, System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ExportDefinition> publicSurface);
new System.ComponentModel.Composition.Hosting.CompositionScopeDefinition : System.ComponentModel.Composition.Primitives.ComposablePartCatalog * seq<System.ComponentModel.Composition.Hosting.CompositionScopeDefinition> * seq<System.ComponentModel.Composition.Primitives.ExportDefinition> -> System.ComponentModel.Composition.Hosting.CompositionScopeDefinition
Public Sub New (catalog As ComposablePartCatalog, children As IEnumerable(Of CompositionScopeDefinition), publicSurface As IEnumerable(Of ExportDefinition))
Parameters
- catalog
- ComposablePartCatalog
The underlying catalog for this catalog.
- children
- IEnumerable<CompositionScopeDefinition>
A collection of the child scopes of this catalog.
- publicSurface
- IEnumerable<ExportDefinition>
The public surface for this catalog.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기