ImportEngine.PreviewImports Method (ComposablePart, AtomicComposition)

 

Previews all the required imports for the specified part to make sure that they can be satisfied, without actually setting them.

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

public void PreviewImports(
	ComposablePart part,
	AtomicComposition atomicComposition
)

Parameters

part
Type: System.ComponentModel.Composition.Primitives.ComposablePart

The part to preview the imports of.

atomicComposition
Type: System.ComponentModel.Composition.Hosting.AtomicComposition

The composition transaction to use, or null for no composition transaction.

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