AttributedModelServices.ComposeExportedValue<T> Method (CompositionContainer, T)

 

Creates a part from the specified value and composes it in the specified composition container.

Namespace:   System.ComponentModel.Composition
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

public static void ComposeExportedValue<T>(
	this CompositionContainer container,
	T exportedValue
)

Parameters

container
Type: System.ComponentModel.Composition.Hosting.CompositionContainer

The composition container to perform composition in.

exportedValue
Type: T

The value to compose.

Type Parameters

T

The type of the new part.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show: