Edit

Kongsi melalui


CompositionScopeDefinition Constructors

Definition

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()

Source:
CompositionScopeDefinition.cs
Source:
CompositionScopeDefinition.cs

Initializes a new instance of the CompositionScopeDefinition class.

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

Applies to

CompositionScopeDefinition(ComposablePartCatalog, IEnumerable<CompositionScopeDefinition>)

Source:
CompositionScopeDefinition.cs
Source:
CompositionScopeDefinition.cs

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>)

Source:
CompositionScopeDefinition.cs
Source:
CompositionScopeDefinition.cs

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