System.ComponentModel.Composition.Primitives Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈