ContractBasedImportDefinition Constructor

Initializes a new instance of the ContractBasedImportDefinition class.

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

protected ContractBasedImportDefinition()

Derived types that call this constructor must override the ContractName property and, optionally, the RequiredMetadata, Cardinality, IsPrerequisite, IsRecomposable, and RequiredCreationPolicy properties.


Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions