Udostępnij za pośrednictwem


IExtensionPartManager Interface

Definition

An interface for components to retrieve extension parts that implement a contract by brokered services.

public interface IExtensionPartManager
type IExtensionPartManager = interface
Public Interface IExtensionPartManager
Derived

Methods

GetCollectionAsync<TContract>(CancellationToken)

Gets a dynamic collection of parts that implement a certain contract in new extensibility framework.

GetCollectionAsync<TContract>(Func<IEnumerable<ExtensionPartMetadata>,Boolean>, CancellationToken)

Gets a dynamic collection of parts that implement a certain contract in new extensibility framework.

GetLazyCollectionAsync<TContract>(CancellationToken)

Gets a dynamic collection of part metadata and a lazy constructor that implement a certain contract in new extensibility framework.

GetLazyCollectionAsync<TContract>(Func<ServiceMoniker,ServiceRpcDescriptor>, CancellationToken)

Gets a dynamic collection of part metadata and a lazy constructor that implement a certain contract in new extensibility framework.

Applies to