AttributedModelServices Class
Silverlight
Contains helper methods for using the attributed programming model with composition.
Namespace: System.ComponentModel.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. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
