CompositionScopeDefinition 构造函数
定义
初始化 CompositionScopeDefinition 类的新实例。Initializes a new instance of the CompositionScopeDefinition class.
重载
| CompositionScopeDefinition() |
初始化 CompositionScopeDefinition 类的新实例。Initializes a new instance of the CompositionScopeDefinition class. |
| CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>) |
使用指定的基础目录和子项初始化 CompositionScopeDefinition 类的新实例。Initializes a new instance of the CompositionScopeDefinition class with the specified underlying catalog and children. |
| CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>, IEnumerable<ExportDefinition>) |
使用指定的基础目录,子项和公共图面初始化 CompositionScopeDefinition 类的新实例。Initializes a new instance of the CompositionScopeDefinition class with the specified underlying catalog, children, and public surface. |
CompositionScopeDefinition()
初始化 CompositionScopeDefinition 类的新实例。Initializes a new instance of the CompositionScopeDefinition class.
protected:
CompositionScopeDefinition();
protected CompositionScopeDefinition ();
Protected Sub New ()
适用于
CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>)
使用指定的基础目录和子项初始化 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))
参数
- catalog
- ComposablePartCatalog
该目录的基础目录。The underlying catalog for this catalog.
- children
- IEnumerable<CompositionScopeDefinition>
此目录的子范围的集合。A collection of the child scopes of this catalog.
适用于
CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>, IEnumerable<ExportDefinition>)
使用指定的基础目录,子项和公共图面初始化 CompositionScopeDefinition 类的新实例。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))
参数
- 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.