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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om