This documentation is archived and is not being maintained.
AttributedModelServices Class
Visual Studio 2010
Contains helper methods for using the attributed programming model with composition.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
The AttributedModelServices type exposes the following members.
| 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 | 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 | Creates composable parts from an array of attributed objects and composes them in the specified composition container. |
![]() ![]() ![]() | CreatePart | Creates a composable part from an attributed object. |
![]() ![]() ![]() | 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. |
![]() ![]() ![]() | GetContractName | Gets a canonical contract name for the specified type. |
![]() ![]() ![]() | GetMetadataView<TMetadataView> | 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. |
![]() ![]() ![]() | SatisfyImportsOnce | Composes the specified part by using the specified composition service, with recomposition disabled. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:

