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

.NET Framework (current version)
 

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

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

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

Parameters

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

The composition service to use.

attributedPart
Type: System::Object^

The part to compose.

reflectionContext
Type: System.Reflection::ReflectionContext^

The reflection context for the part.

Exception Condition
ArgumentNullException

reflectionContext is null.

.NET Framework
Available since 4.5
Return to top
Show: