Export (0) Print
Expand All

AttributedModelServices Methods

The AttributedModelServices type exposes the following members.

  Name Description
Public method Static member AddExportedValue<T>(CompositionBatch, T) Creates a part from the specified value and adds it to the specified batch.
Public method Static member AddExportedValue<T>(CompositionBatch, String, T) Creates a part from the specified value and adds it to the specified batch with the specified contract name.
Public method Static member AddPart Creates a composable part from the specified attributed object, and adds it to the specified composition batch.
Public method Static member ComposeExportedValue<T>(CompositionContainer, T) Creates a part from the specified value and composes it in the specified composition container.
Public method Static member 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.
Public method Static member ComposeParts Creates composable parts from an array of attributed objects and composes them in the specified composition container.
Public method Static member CreatePart Creates a composable part from an attributed object.
Public method Static member CreatePartDefinition(Type, ICompositionElement) Creates a part definition with the specified type and origin.
Public method Static member CreatePartDefinition(Type, ICompositionElement, Boolean) Creates a part definition with the specified type and origin.
Public method Static member GetContractName Gets a canonical contract name for the specified type.
Public method Static member GetMetadataView<TMetadataView> Gets a metadata view object from a dictionary of loose metadata.
Public method Static member GetTypeIdentity(MethodInfo) Gets the unique identifier for the specified method.
Public method Static member GetTypeIdentity(Type) Gets the unique identifier for the specified type.
Public method Static member SatisfyImportsOnce Composes the specified part by using the specified composition service, with recomposition disabled.
Top

Community Additions

ADD
Show:
© 2014 Microsoft