System.ComponentModel.Composition 4.0.0.0 System.ComponentModel.Composition.Primitives.ImportDefinition To be added. Represents an import that is required by a object and that can specify both a contract name and metadata. Constructor 4.0.0.0 To be added. Initializes a new instance of the class. Constructor 4.0.0.0 To be added. Initializes a new instance of the 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. The contract name of the object required by the import definition. The type identity of the export type expected. Use the method to generate a type identity for a given type. If no specific type is required, use null. A collection of key/value pairs that contain the metadata names and types required by the import definition; or null to set the property to an empty collection. One of the enumeration values that indicates the cardinality of the objects required by the import definition. true to specify that the import definition can be satisfied multiple times throughout the lifetime of a ; otherwise, false. true to specify that the import definition is required to be satisfied before a can start producing exported objects; otherwise, false. A value that indicates that the importer requires a specific creation policy for the exports used to satisfy this import. If no specific creation policy is needed, the default is . Constructor 4.0.0.0 To be added. Initializes a new instance of the 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. The contract name of the object required by the import definition. The type identity of the export type expected. Use the method to generate a type identity for a given type. If no specific type is required, use null. A collection of key/value pairs that contain the metadata names and types required by the import definition; or null to set the property to an empty collection. One of the enumeration values that indicates the cardinality of the objects required by the import definition. true to specify that the import definition can be satisfied multiple times throughout the lifetime of a ; otherwise, false. true to specify that the import definition is required to be satisfied before a can start producing exported objects; otherwise, false. A value that indicates that the importer requires a specific creation policy for the exports used to satisfy this import. If no specific creation policy is needed, the default is . The metadata associated with this import. Property 4.0.0.0 System.Linq.Expressions.Expression<System.Func<System.ComponentModel.Composition.Primitives.ExportDefinition,System.Boolean>> To be added. To be added. Gets an expression that defines conditions that must be matched to satisfy the import described by this import definition. Method 4.0.0.0 System.Boolean To be added. Returns a value indicating whether the constraint represented by this object is satisfied by the export represented by the given export definition. true if the constraint is satisfied; otherwise, false. The export definition to test. Property 4.0.0.0 System.ComponentModel.Composition.CreationPolicy To be added. To be added. Gets or sets a value that indicates that the importer requires a specific for the exports used to satisfy this import. Property 4.0.0.0 System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.Type>> To be added. Overrides of this property should never return null or return an collection that contains an element that is null. If the definition does not contain required metadata, return an empty collection instead. Gets the metadata names of the export required by the import definition. Property 4.0.0.0 System.String To be added. To be added. Gets the expected type of the export that matches this . Method 4.0.0.0 System.String To be added. To be added. Returns .