CompositionScopeDefinition 构造函数

定义

初始化 CompositionScopeDefinition 类的新实例。

重载

CompositionScopeDefinition()

初始化 CompositionScopeDefinition 类的新实例。

CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>)

使用指定的基础目录和子项初始化 CompositionScopeDefinition 类的新实例。

CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>, IEnumerable<ExportDefinition>)

使用指定的基础目录,子项和公共图面初始化 CompositionScopeDefinition 类的新实例。

CompositionScopeDefinition()

Source:
CompositionScopeDefinition.cs
Source:
CompositionScopeDefinition.cs
Source:
CompositionScopeDefinition.cs

初始化 CompositionScopeDefinition 类的新实例。

protected:
 CompositionScopeDefinition();
protected CompositionScopeDefinition ();
Protected Sub New ()

适用于

CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>)

Source:
CompositionScopeDefinition.cs
Source:
CompositionScopeDefinition.cs
Source:
CompositionScopeDefinition.cs

使用指定的基础目录和子项初始化 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>)

Source:
CompositionScopeDefinition.cs
Source:
CompositionScopeDefinition.cs
Source:
CompositionScopeDefinition.cs

使用指定的基础目录,子项和公共图面初始化 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>

此目录的公共表面。

适用于