編輯

共用方式為


AggregateCatalog Constructors

Definition

Initializes a new instance of the AggregateCatalog class.

Overloads

AggregateCatalog()

Initializes a new instance of the AggregateCatalog class.

AggregateCatalog(IEnumerable<ComposablePartCatalog>)

Initializes a new instance of the AggregateCatalog class with the specified catalogs.

AggregateCatalog(ComposablePartCatalog[])

Initializes a new instance of the AggregateCatalog class with the specified catalogs.

AggregateCatalog()

Source:
AggregateCatalog.cs
Source:
AggregateCatalog.cs
Source:
AggregateCatalog.cs
Source:
AggregateCatalog.cs

Initializes a new instance of the AggregateCatalog class.

public:
 AggregateCatalog();
public AggregateCatalog ();
Public Sub New ()

Applies to

AggregateCatalog(IEnumerable<ComposablePartCatalog>)

Source:
AggregateCatalog.cs
Source:
AggregateCatalog.cs
Source:
AggregateCatalog.cs
Source:
AggregateCatalog.cs

Initializes a new instance of the AggregateCatalog class with the specified catalogs.

public:
 AggregateCatalog(System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::ComposablePartCatalog ^> ^ catalogs);
public AggregateCatalog (System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ComposablePartCatalog>? catalogs);
public AggregateCatalog (System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ComposablePartCatalog> catalogs);
new System.ComponentModel.Composition.Hosting.AggregateCatalog : seq<System.ComponentModel.Composition.Primitives.ComposablePartCatalog> -> System.ComponentModel.Composition.Hosting.AggregateCatalog
Public Sub New (catalogs As IEnumerable(Of ComposablePartCatalog))

Parameters

catalogs
IEnumerable<ComposablePartCatalog>

A collection of ComposablePartCatalog objects to add to the AggregateCatalog or null to create an empty AggregateCatalog.

Exceptions

catalogs contains an element that is null.

Applies to

AggregateCatalog(ComposablePartCatalog[])

Source:
AggregateCatalog.cs
Source:
AggregateCatalog.cs
Source:
AggregateCatalog.cs
Source:
AggregateCatalog.cs

Initializes a new instance of the AggregateCatalog class with the specified catalogs.

public:
 AggregateCatalog(... cli::array <System::ComponentModel::Composition::Primitives::ComposablePartCatalog ^> ^ catalogs);
public AggregateCatalog (params System.ComponentModel.Composition.Primitives.ComposablePartCatalog[]? catalogs);
public AggregateCatalog (params System.ComponentModel.Composition.Primitives.ComposablePartCatalog[] catalogs);
new System.ComponentModel.Composition.Hosting.AggregateCatalog : System.ComponentModel.Composition.Primitives.ComposablePartCatalog[] -> System.ComponentModel.Composition.Hosting.AggregateCatalog
Public Sub New (ParamArray catalogs As ComposablePartCatalog())

Parameters

catalogs
ComposablePartCatalog[]

A array of ComposablePartCatalog objects to add to the AggregateCatalog.

Exceptions

catalogs is null.

catalogs contains an element that is null.

Applies to