編集

次の方法で共有


AggregateExportProvider Constructors

Definition

Initializes a new instance of the AggregateExportProvider class.

Overloads

AggregateExportProvider(IEnumerable<ExportProvider>)

Initializes a new instance of the AggregateExportProvider class.

AggregateExportProvider(ExportProvider[])

Initializes a new instance of the AggregateExportProvider class.

AggregateExportProvider(IEnumerable<ExportProvider>)

Source:
AggregateExportProvider.cs
Source:
AggregateExportProvider.cs
Source:
AggregateExportProvider.cs

Initializes a new instance of the AggregateExportProvider class.

public:
 AggregateExportProvider(System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Hosting::ExportProvider ^> ^ providers);
public AggregateExportProvider (System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Hosting.ExportProvider>? providers);
public AggregateExportProvider (System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Hosting.ExportProvider> providers);
new System.ComponentModel.Composition.Hosting.AggregateExportProvider : seq<System.ComponentModel.Composition.Hosting.ExportProvider> -> System.ComponentModel.Composition.Hosting.AggregateExportProvider
Public Sub New (providers As IEnumerable(Of ExportProvider))

Parameters

providers
IEnumerable<ExportProvider>

The prioritized list of export providers. The providers are consulted in the order in which they are supplied.

Exceptions

One or more elements of providers are null.

Remarks

The AggregateExportProvider class consults the providers in the order in which they have been specified when it calls GetExports.

The AggregateExportProvider does not take ownership of the specified providers. That is, it tries to dispose of any of the providers when it is disposed.

Applies to

AggregateExportProvider(ExportProvider[])

Source:
AggregateExportProvider.cs
Source:
AggregateExportProvider.cs
Source:
AggregateExportProvider.cs

Initializes a new instance of the AggregateExportProvider class.

public:
 AggregateExportProvider(... cli::array <System::ComponentModel::Composition::Hosting::ExportProvider ^> ^ providers);
public AggregateExportProvider (params System.ComponentModel.Composition.Hosting.ExportProvider[]? providers);
public AggregateExportProvider (params System.ComponentModel.Composition.Hosting.ExportProvider[] providers);
new System.ComponentModel.Composition.Hosting.AggregateExportProvider : System.ComponentModel.Composition.Hosting.ExportProvider[] -> System.ComponentModel.Composition.Hosting.AggregateExportProvider
Public Sub New (ParamArray providers As ExportProvider())

Parameters

providers
ExportProvider[]

The prioritized list of export providers.

Exceptions

providers contains an element that is null.

Remarks

The AggregateExportProvider class consults the providers in the order in which they have been specified when it calls GetExports.

The AggregateExportProvider does not take ownership of the specified providers. That is, it tries to dispose of any of the providers when it is disposed.

Applies to