0 out of 1 rated this helpful - Rate this topic

System.ComponentModel.Composition Namespace

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

  ClassDescription
Public classSupported by Portable Class LibraryAttributedModelServicesContains helper methods for using the MEF attributed programming model with composition.
Public classCatalogReflectionContextAttributeWhen applied to a Assembly object, enables an AssemblyCatalog object to discover custom ReflectionContext objects.
Public classSupported by Portable Class LibraryChangeRejectedExceptionAn exception that indicates whether a part has been rejected during composition.
Public classSupported by Portable Class LibraryCompositionContractMismatchExceptionThe 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.
Public classSupported by Portable Class LibraryCompositionErrorRepresents an error that occurred during composition.
Public classSupported by Portable Class LibraryCompositionExceptionRepresents the exception that is thrown when one or more errors occur during composition in a CompositionContainer object.
Public classSupported by Portable Class LibraryExportAttributeSpecifies that a type, property, field, or method provides a particular export.
Public classExportFactory<T>A factory that creates new instances of a part that provides the specified export.
Public classExportFactory<T, TMetadata>A factory that creates new instances of a part that provides the specified export, with attached metadata.
Public classExportLifetimeContext<T>Holds an exported value created by an ExportFactory<T> object and a reference to a method to release that object.
Public classSupported by Portable Class LibraryExportMetadataAttributeSpecifies metadata for a type, property, field, or method marked with the ExportAttribute.
Public classSupported by Portable Class LibraryImportAttributeSpecifies that a property, field, or parameter value should be provided by the CompositionContainer.object
Public classSupported by Portable Class LibraryImportCardinalityMismatchExceptionThe exception that is thrown when the cardinality of an import is not compatible with the cardinality of the matching exports.
Public classSupported by Portable Class LibraryImportingConstructorAttributeSpecifies which constructor should be used when creating a part.
Public classSupported by Portable Class LibraryImportManyAttributeSpecifies that a property, field, or parameter should be populated with all matching exports by the CompositionContainer object.
Public classSupported by Portable Class LibraryInheritedExportAttributeSpecifies that a type provides a particular export, and that subclasses of that type will also provide that export.
Public classSupported by Portable Class LibraryMetadataAttributeAttributeSpecifies that a custom attribute’s properties provide metadata for exports applied to the same type, property, field, or method.
Public classMetadataViewImplementationAttributeSpecifies the type used to implement a metadata view.
Public classSupported by Portable Class LibraryPartCreationPolicyAttributeSpecifies the CreationPolicy for a part.
Public classSupported by Portable Class LibraryPartMetadataAttributeSpecifies metadata for a part.
Public classSupported by Portable Class LibraryPartNotDiscoverableAttributeSpecifies that this type’s exports won’t be included in a ComposablePartCatalog.
  InterfaceDescription
Public interfaceSupported by Portable Class LibraryICompositionServiceProvides methods to satisfy imports on an existing part instance.
Public interfaceSupported by Portable Class LibraryIPartImportsSatisfiedNotificationNotifies a part when its imports have been satisfied.
  EnumerationDescription
Public enumerationSupported by Portable Class LibraryCreationPolicySpecifies when and how a part will be instantiated.
Public enumerationImportSourceSpecifies values that indicate how the MEF composition engine searches for imports.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.