CompositionScopeDefinition 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 CompositionScopeDefinition 类的新实例。
重载
CompositionScopeDefinition()
初始化 CompositionScopeDefinition 类的新实例。
protected:
CompositionScopeDefinition();
protected CompositionScopeDefinition ();
Protected Sub New ()
适用于
CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>)
使用指定的基础目录和子项初始化 CompositionScopeDefinition 类的新实例。
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
该目录的基础目录。
- children
- IEnumerable<CompositionScopeDefinition>
此目录的子范围的集合。
适用于
CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>, IEnumerable<ExportDefinition>)
使用指定的基础目录,子项和公共图面初始化 CompositionScopeDefinition 类的新实例。
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
该目录的基础目录。
- children
- IEnumerable<CompositionScopeDefinition>
此目录的子范围的集合。
- publicSurface
- IEnumerable<ExportDefinition>
此目录的公共表面。