Sdílet prostřednictvím


System.Composition.Hosting.Core Namespace

Contains classes that represent core functionality of the composition engine, including composition operations, contracts, part dependencies, export descriptions, and the lifetime context of a shared part that governs how it can be disposed.

Classes

CompositionContract

Represents an agreement between parts that allows the composition engine to match imports with exports.

CompositionDependency

Represents a dependency that a part must have in order to fulfill an ExportDescriptorPromise. This class is used by the composition engine during initialization to determine whether the composition can be made, and if not, what error to provide.

CompositionOperation

Represents a single composition operation.

DependencyAccessor

Allows ExportDescriptorProvider objects to locate their dependencies.

ExportDescriptor

Describes an export of a part known to the composition engine.

ExportDescriptorPromise

Represents an export descriptor that an available part can provide.

ExportDescriptorProvider

Provides the description of an export for a part known to the composition engine.

LifetimeContext

Represents a node in the lifetime tree.

Delegates

CompositeActivator

The delegate that allows instances of parts and exports to be accessed during composition.