AttributedModelServices::SatisfyImportsOnce Method (ICompositionService^, Object^)

 

Composes the specified part by using the specified composition service, with recomposition disabled.

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

public:
[ExtensionAttribute]
static ComposablePart^ SatisfyImportsOnce(
	ICompositionService^ compositionService,
	Object^ attributedPart
)

Parameters

compositionService
Type: System.ComponentModel.Composition::ICompositionService^

The composition service to use.

attributedPart
Type: System::Object^

The part to compose.

Unlike ordinary composition, parts composed with this method are not guaranteed to remain valid if the catalog behindcompositionService changes.

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