ImportDefinition Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String,Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>) |
Inicializa una nueva instancia de la ImportDefinition clase basada en atributos MEF v1. |
ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String, Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>, IReadOnlyCollection<String>) |
Inicializa una nueva instancia de la ImportDefinition clase basada en atributos MEF v2. |
ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String,Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>)
- Source:
- ImportDefinition.cs
- Source:
- ImportDefinition.cs
Inicializa una nueva instancia de la ImportDefinition clase basada en atributos MEF v1.
public ImportDefinition (string contractName, Microsoft.VisualStudio.Composition.ImportCardinality cardinality, System.Collections.Generic.IReadOnlyDictionary<string,object> metadata, System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Composition.IImportSatisfiabilityConstraint> additionalConstraints);
new Microsoft.VisualStudio.Composition.ImportDefinition : string * Microsoft.VisualStudio.Composition.ImportCardinality * System.Collections.Generic.IReadOnlyDictionary<string, obj> * System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Composition.IImportSatisfiabilityConstraint> -> Microsoft.VisualStudio.Composition.ImportDefinition
Public Sub New (contractName As String, cardinality As ImportCardinality, metadata As IReadOnlyDictionary(Of String, Object), additionalConstraints As IReadOnlyCollection(Of IImportSatisfiabilityConstraint))
Parámetros
- contractName
- String
- cardinality
- ImportCardinality
- metadata
- IReadOnlyDictionary<String,Object>
- additionalConstraints
- IReadOnlyCollection<IImportSatisfiabilityConstraint>
Se aplica a
ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String, Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>, IReadOnlyCollection<String>)
- Source:
- ImportDefinition.cs
- Source:
- ImportDefinition.cs
Inicializa una nueva instancia de la ImportDefinition clase basada en atributos MEF v2.
public ImportDefinition (string contractName, Microsoft.VisualStudio.Composition.ImportCardinality cardinality, System.Collections.Generic.IReadOnlyDictionary<string,object> metadata, System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Composition.IImportSatisfiabilityConstraint> additionalConstraints, System.Collections.Generic.IReadOnlyCollection<string> exportFactorySharingBoundaries);
new Microsoft.VisualStudio.Composition.ImportDefinition : string * Microsoft.VisualStudio.Composition.ImportCardinality * System.Collections.Generic.IReadOnlyDictionary<string, obj> * System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Composition.IImportSatisfiabilityConstraint> * System.Collections.Generic.IReadOnlyCollection<string> -> Microsoft.VisualStudio.Composition.ImportDefinition
Public Sub New (contractName As String, cardinality As ImportCardinality, metadata As IReadOnlyDictionary(Of String, Object), additionalConstraints As IReadOnlyCollection(Of IImportSatisfiabilityConstraint), exportFactorySharingBoundaries As IReadOnlyCollection(Of String))
Parámetros
- contractName
- String
- cardinality
- ImportCardinality
- metadata
- IReadOnlyDictionary<String,Object>
- additionalConstraints
- IReadOnlyCollection<IImportSatisfiabilityConstraint>
- exportFactorySharingBoundaries
- IReadOnlyCollection<String>