ContractBasedImportDefinition Constructor

ContractBasedImportDefinition Constructor

 

Initializes a new instance of the ContractBasedImportDefinition class.

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

NameDescription
System_CAPS_protmethodContractBasedImportDefinition()

Initializes a new instance of the ContractBasedImportDefinition class.

System_CAPS_pubmethodContractBasedImportDefinition(String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, Boolean, Boolean, CreationPolicy)

Initializes a new instance of the ContractBasedImportDefinition class with the specified contract name, required type identity, required metadata, cardinality, and creation policy, and indicates whether the import definition is recomposable or a prerequisite.

System_CAPS_pubmethodContractBasedImportDefinition(String, String, IEnumerable<KeyValuePair<String, Type>>, ImportCardinality, Boolean, Boolean, CreationPolicy, IDictionary<String, Object>)

Initializes a new instance of the ContractBasedImportDefinition class with the specified contract name, required type identity, required and optional metadata, cardinality, and creation policy, and indicates whether the import definition is recomposable or a prerequisite.

Return to top
Show:
© 2016 Microsoft