共用方式為


System.Composition.Hosting Namespace

Contains classes for building and configuring a composition container and for reporting exceptions from a failed composition.

Classes

CompositionFailedException

The exception that is thrown when composition problems occur.

CompositionHost

A lightweight composition container that is assembled from specified providers.

ContainerConfiguration

Configures and constructs a lightweight container.