System.Composition 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.
Contains classes for creating and specifying export attributes, retrieving exports from a composition, configuring import attributes, and for specifying how parts interact during composition.
Composition |
Provides methods to retrieve exports from the composition. |
Composition |
Adds methods to the composition context that are specific to the typed parts model. |
Export<T> |
A reference that allows the graph of parts associated with an exported instance to be released. |
Export |
Specifies that a type, property, field, or method provides a particular export. |
Export |
A factory that creates new instances of a part that provides the specified export. |
Export |
A factory that creates new instances of a part that provides the specified export, with attached metadata. |
Export |
Specifies metadata for a type, property, field, or method that is marked with the ExportAttribute attribute. |
Import |
Specifies that a property or parameter value should be provided by the host container. |
Importing |
Specifies which constructor should be used when creating an attributed part. |
Import |
Specifies that a property, field, or parameter should be populated with all matching exports by the host container. |
Import |
Specifies that an import requires certain metadata values. |
Metadata |
Specifies that a custom attribute's properties provide metadata for exports applied to the same type, property, field, or method. |
On |
Specifies that a method should be called when composition is completed. |
Part |
Specifies metadata for a part. |
Part |
Specifies that this type's exports won't be included in a catalog. |
Shared |
Marks the decorated part as being constrained to sharing within the specified boundary. |
Sharing |
When applied to an import of an ExportFactory<T> object, marks the boundary of a sharing scope. |