CompositionContextExtensions::SatisfyImports Method (CompositionContext^, Object^, AttributedModelProvider^)

.NET Framework (current version)
 

Satisfies the imports of the specified object from the specified context, using the specified conventions.

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

public:
[ExtensionAttribute]
static void SatisfyImports(
	CompositionContext^ compositionContext,
	Object^ objectWithLooseImports,
	AttributedModelProvider^ conventions
)

Parameters

compositionContext
Type: System.Composition::CompositionContext^

The context to draw exports from.

objectWithLooseImports
Type: System::Object^

The object to satisfy imports on.

conventions
Type: System.Composition.Convention::AttributedModelProvider^

Conventions to use when satisfying imports.

Return to top
Show: