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(Object) Creates a composable part from the specified attributed object.
Public method Static member CreatePart(ComposablePartDefinition, Object) Creates a composable part from the specified attributed object, using the specified part definition.
Public method Static member CreatePart(Object, ReflectionContext) Creates a composable part from the specified attributed object, using the specified reflection context.
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 Exports(ComposablePartDefinition, Type) Returns a value that indicates whether the specified part contains an export that matches the specified contract type.
Public method Static member Exports<T>(ComposablePartDefinition) Returns a value that indicates whether the specified part contains an export that matches the specified contract type.
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 Imports(ComposablePartDefinition, Type) Returns a value that indicates whether the specified part contains an import that matches the specified contract type.
Public method Static member 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.
Public method Static member Imports<T>(ComposablePartDefinition) Returns a value that indicates whether the specified part contains an import that matches the specified contract type.
Public method Static member 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.
Public method Static member SatisfyImportsOnce(ICompositionService, Object) Composes the specified part by using the specified composition service, with recomposition disabled.
Public method Static member SatisfyImportsOnce(ICompositionService, Object, ReflectionContext) Composes the specified part by using the specified composition service, with recomposition disabled and using the specified reflection context.
Top
Show:
© 2014 Microsoft