Partilhar via


ImportDefinition Classe

Definição

[System.Diagnostics.DebuggerDisplay("{ContractName,nq} ({Cardinality})")]
public class ImportDefinition : IEquatable<Microsoft.VisualStudio.Composition.ImportDefinition>
[<System.Diagnostics.DebuggerDisplay("{ContractName,nq} ({Cardinality})")>]
type ImportDefinition = class
    interface IEquatable<ImportDefinition>
Public Class ImportDefinition
Implements IEquatable(Of ImportDefinition)
Herança
ImportDefinition
Atributos
Implementações

Construtores

ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String,Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>)

Inicializa uma nova instância da ImportDefinition classe com base em atributos mef v1.

ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String, Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>, IReadOnlyCollection<String>)

Inicializa uma nova instância da ImportDefinition classe com base em atributos MEF v2.

Propriedades

Cardinality
ContractName
ExportConstraints
ExportFactorySharingBoundaries

Obtém os limites de compartilhamento criados quando a fábrica de exportação é usada.

Metadata

Métodos

AddExportConstraint(IImportSatisfiabilityConstraint)
Equals(ImportDefinition)
Equals(Object)
GetHashCode()
ToString(TextWriter)
WithExportConstraints(IReadOnlyCollection<IImportSatisfiabilityConstraint>)

Aplica-se a