ImportDefinition.IsPrerequisite Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that indicates whether the import definition must be satisfied before a part can start producing exported objects.

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

public virtual bool IsPrerequisite { get; }

Property Value

Type: System.Boolean

true if the ImportDefinition must be satisfied before a ComposablePart object can start producing exported objects; otherwise, false. The default is true.

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