Επεξεργασία

Κοινή χρήση μέσω


System.ComponentModel.Composition.Primitives Namespace

This namespace provides the primitive types underlying the MEF programming model.

Classes

ComposablePart

Defines the abstract base class for composable parts, which import objects and produce exported objects.

ComposablePartCatalog

Represents the abstract base class for composable part catalogs, which collect and return ComposablePartDefinition objects.

ComposablePartDefinition

Defines an abstract base class for composable part definitions, which describe and enable the creation of ComposablePart objects.

ComposablePartException

The exception that is thrown when an error occurs when calling methods on a ComposablePart object.

ContractBasedImportDefinition

Represents an import that is required by a ComposablePart object and that can specify both a contract name and metadata.

Export

Represents an export, which is a type that consists of a delay-created exported object and the metadata that describes that object.

ExportDefinition

Describes the contract that a particular Export object satisfies.

ExportedDelegate

Represents a function exported by a ComposablePart.

ImportDefinition

Represents an import that is required by a ComposablePart object.

Interfaces

ICompositionElement

Represents an element that participates in composition.

Enums

ImportCardinality

Indicates the cardinality of the Export objects required by an ImportDefinition.