Dela via


ContainerConfiguration.WithProvider(ExportDescriptorProvider) Method

Definition

Adds the specified provider to the container.

public:
 System::Composition::Hosting::ContainerConfiguration ^ WithProvider(System::Composition::Hosting::Core::ExportDescriptorProvider ^ exportDescriptorProvider);
public System.Composition.Hosting.ContainerConfiguration WithProvider (System.Composition.Hosting.Core.ExportDescriptorProvider exportDescriptorProvider);
member this.WithProvider : System.Composition.Hosting.Core.ExportDescriptorProvider -> System.Composition.Hosting.ContainerConfiguration
Public Function WithProvider (exportDescriptorProvider As ExportDescriptorProvider) As ContainerConfiguration

Parameters

exportDescriptorProvider
ExportDescriptorProvider

The provider to add.

Returns

An object that can be used to further configure the container.

Applies to