System.ComponentModel.Composition
4.0.0.0
System.Object
To be added.
Represents an import that is required by a object.
Constructor
4.0.0.0
Derived types that call this constructor must override the property, and optionally, the , and properties.
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 constraint, contract name, and cardinality, and indicates whether the import definition is recomposable or a prerequisite.
An expression that contains a object that defines the conditions an must match to satisfy the import definition.
The contract name.
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 object; otherwise, false.
true to specify that the import definition must be satisfied before a can start producing exported objects; otherwise, false.
Constructor
4.0.0.0
To be added.
Initializes a new instance of the class with the specified constraint, contract name, cardinality, and metadata, and indicates whether the import definition is recomposable or a prerequisite.
An expression that contains a object that defines the conditions an must match to satisfy the import definition.
The contract name.
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 object; otherwise, false.
true to specify that the import definition must be satisfied before a can start producing exported objects; otherwise, false.
The metadata associated with the import.
Property
4.0.0.0
System.ComponentModel.Composition.Primitives.ImportCardinality
To be added.
To be added.
Gets the cardinality of the exports required by the import definition.
Property
4.0.0.0
System.Linq.Expressions.Expression<System.Func<System.ComponentModel.Composition.Primitives.ExportDefinition,System.Boolean>>
To be added.
Overrides of this property should never return null.
Gets an expression that defines conditions that the import must satisfy to match the import definition.
Property
4.0.0.0
System.String
To be added.
To be added.
Gets the name of the contract.
Method
4.0.0.0
System.Boolean
To be added.
Gets a value that indicates whether the export represented by the specified definition satisfies the constraints of this import definition.
true if the constraints are satisfied; otherwise, false.
The export definition to test.
Property
4.0.0.0
System.Boolean
To be added.
To be added.
Gets a value that indicates whether the import definition must be satisfied before a part can start producing exported objects.
Property
4.0.0.0
System.Boolean
To be added.
To be added.
Gets a value that indicates whether the import definition can be satisfied multiple times.
Property
4.0.0.0
System.Collections.Generic.IDictionary<System.String,System.Object>
To be added.
This property should never return null. Imports with no metadata should return an empty collection.
Gets the metadata associated with this import.
Method
4.0.0.0
System.String
To be added.
Returns a string representation of the import definition.
A string representation of the import definition.