AttributedModelServices Class
Contains helper methods for using the MEF attributed programming model with composition.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | AddExportedValue<T>(CompositionBatch^, T) | Creates a part from the specified value and adds it to the specified batch. |
![]() ![]() | AddExportedValue<T>(CompositionBatch^, String^, T) | Creates a part from the specified value and adds it to the specified batch with the specified contract name. |
![]() ![]() | AddPart(CompositionBatch^, Object^) | Creates a composable part from the specified attributed object, and adds it to the specified composition batch. |
![]() ![]() | ComposeExportedValue<T>(CompositionContainer^, T) | Creates a part from the specified value and composes it in the specified composition container. |
![]() ![]() | ComposeExportedValue<T>(CompositionContainer^, String^, T) | Creates a part from the specified object under the specified contract name and composes it in the specified composition container. |
![]() ![]() | ComposeParts(CompositionContainer^, array<Object^>^) | Creates composable parts from an array of attributed objects and composes them in the specified composition container. |
![]() ![]() | CreatePart(ComposablePartDefinition^, Object^) | Creates a composable part from the specified attributed object, using the specified part definition. |
![]() ![]() | CreatePart(Object^) | Creates a composable part from the specified attributed object. |
![]() ![]() | CreatePart(Object^, ReflectionContext^) | Creates a composable part from the specified attributed object, using the specified reflection context. |
![]() ![]() | CreatePartDefinition(Type^, ICompositionElement^) | Creates a part definition with the specified type and origin. |
![]() ![]() | CreatePartDefinition(Type^, ICompositionElement^, Boolean) | Creates a part definition with the specified type and origin. |
![]() ![]() | Exports(ComposablePartDefinition^, Type^) | Returns a value that indicates whether the specified part contains an export that matches the specified contract type. |
![]() ![]() | Exports<T>(ComposablePartDefinition^) | Returns a value that indicates whether the specified part contains an export that matches the specified contract type. |
![]() ![]() | GetContractName(Type^) | Gets a canonical contract name for the specified type. |
![]() ![]() | GetMetadataView<TMetadataView>(IDictionary<String^, Object^>^) | Gets a metadata view object from a dictionary of loose metadata. |
![]() ![]() | GetTypeIdentity(MethodInfo^) | Gets the unique identifier for the specified method. |
![]() ![]() | GetTypeIdentity(Type^) | Gets the unique identifier for the specified type. |
![]() ![]() | Imports(ComposablePartDefinition^, Type^) | Returns a value that indicates whether the specified part contains an import that matches the specified contract type. |
![]() ![]() | Imports(ComposablePartDefinition^, Type^, ImportCardinality) | Returns a value that indicates whether the specified part contains an import that matches the specified contract type and import cardinality. |
![]() ![]() | Imports<T>(ComposablePartDefinition^) | Returns a value that indicates whether the specified part contains an import that matches the specified contract type. |
![]() ![]() | Imports<T>(ComposablePartDefinition^, ImportCardinality) | Returns a value that indicates whether the specified part contains an import that matches the specified contract type and import cardinality. |
![]() ![]() | SatisfyImportsOnce(ICompositionService^, Object^) | Composes the specified part by using the specified composition service, with recomposition disabled. |
![]() ![]() | SatisfyImportsOnce(ICompositionService^, Object^, ReflectionContext^) | Composes the specified part by using the specified composition service, with recomposition disabled and using the specified reflection context. |
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

