System.ComponentModel.Composition

System.ComponentModel.Composition Namespace

 

This namespace provides classes that constitute the core of the Managed Extensibility Framework, or MEF.

ClassDescription
System_CAPS_pubclassAttributedModelServices

Contains helper methods for using the MEF attributed programming model with composition.

System_CAPS_pubclassCatalogReflectionContextAttribute

When applied to a Assembly object, enables an AssemblyCatalog object to discover custom ReflectionContext objects.

System_CAPS_pubclassChangeRejectedException

An exception that indicates whether a part has been rejected during composition.

System_CAPS_pubclassCompositionContractMismatchException

The exception that is thrown when the underlying exported value or metadata of a Lazy<T> or Lazy<T, TMetadata> object cannot be cast to T or TMetadataView, respectively.

System_CAPS_pubclassCompositionError

Represents an error that occurred during composition.

System_CAPS_pubclassCompositionException

Represents the exception that is thrown when one or more errors occur during composition in a CompositionContainer object.

System_CAPS_pubclassExportAttribute

Specifies that a type, property, field, or method provides a particular export.

System_CAPS_pubclassExportFactory<T>

A factory that creates new instances of a part that provides the specified export.

System_CAPS_pubclassExportFactory<T, TMetadata>

A factory that creates new instances of a part that provides the specified export, with attached metadata.

System_CAPS_pubclassExportLifetimeContext<T>

Holds an exported value created by an ExportFactory<T> object and a reference to a method to release that object.

System_CAPS_pubclassExportMetadataAttribute

Specifies metadata for a type, property, field, or method marked with the ExportAttribute.

System_CAPS_pubclassImportAttribute

Specifies that a property, field, or parameter value should be provided by the CompositionContainer.object

System_CAPS_pubclassImportCardinalityMismatchException

The exception that is thrown when the cardinality of an import is not compatible with the cardinality of the matching exports.

System_CAPS_pubclassImportingConstructorAttribute

Specifies which constructor should be used when creating a part.

System_CAPS_pubclassImportManyAttribute

Specifies that a property, field, or parameter should be populated with all matching exports by the CompositionContainer object.

System_CAPS_pubclassInheritedExportAttribute

Specifies that a type provides a particular export, and that subclasses of that type will also provide that export.

System_CAPS_pubclassMetadataAttributeAttribute

Specifies that a custom attribute’s properties provide metadata for exports applied to the same type, property, field, or method.

System_CAPS_pubclassMetadataViewImplementationAttribute

Specifies the type used to implement a metadata view.

System_CAPS_pubclassPartCreationPolicyAttribute

Specifies the CreationPolicy for a part.

System_CAPS_pubclassPartMetadataAttribute

Specifies metadata for a part.

System_CAPS_pubclassPartNotDiscoverableAttribute

Specifies that this type’s exports won’t be included in a ComposablePartCatalog.

InterfaceDescription
System_CAPS_pubinterfaceICompositionService

Provides methods to satisfy imports on an existing part instance.

System_CAPS_pubinterfaceIPartImportsSatisfiedNotification

Notifies a part when its imports have been satisfied.

EnumerationDescription
System_CAPS_pubenumCreationPolicy

Specifies when and how a part will be instantiated.

System_CAPS_pubenumImportSource

Specifies values that indicate how the MEF composition engine searches for imports.

Return to top
Show:
© 2016 Microsoft