ImportDefinition Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an import that is required by a ComposablePart object.
public ref class ImportDefinition
public class ImportDefinition
type ImportDefinition = class
Public Class ImportDefinition
- Inheritance
-
ImportDefinition
- Derived
Import |
Initializes a new instance of the ImportDefinition class. |
Import |
Initializes a new instance of the ImportDefinition class with the specified constraint, contract name, cardinality, and metadata, and indicates whether the import definition is recomposable or a prerequisite. |
Import |
Initializes a new instance of the ImportDefinition class with the specified constraint, contract name, and cardinality, and indicates whether the import definition is recomposable or a prerequisite. |
Cardinality |
Gets the cardinality of the exports required by the import definition. |
Constraint |
Gets an expression that defines conditions that the import must satisfy to match the import definition. |
Contract |
Gets the name of the contract. |
Is |
Gets a value that indicates whether the import definition must be satisfied before a part can start producing exported objects. |
Is |
Gets a value that indicates whether the import definition can be satisfied multiple times. |
Metadata |
Gets the metadata associated with this import. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Is |
Gets a value that indicates whether the export represented by the specified definition satisfies the constraints of this import definition. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string representation of the import definition. |
Producto | Versiones |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: