ImportDefinition Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String,Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>) |
Initialise une nouvelle instance de la ImportDefinition classe en fonction des attributs MEF v1. |
ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String, Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>, IReadOnlyCollection<String>) |
Initialise une nouvelle instance de la ImportDefinition classe en fonction des attributs MEF v2. |
ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String,Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>)
- Source:
- ImportDefinition.cs
- Source:
- ImportDefinition.cs
Initialise une nouvelle instance de la ImportDefinition classe en fonction des attributs 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))
Paramètres
- contractName
- String
- cardinality
- ImportCardinality
- metadata
- IReadOnlyDictionary<String,Object>
- additionalConstraints
- IReadOnlyCollection<IImportSatisfiabilityConstraint>
S’applique à
ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String, Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>, IReadOnlyCollection<String>)
- Source:
- ImportDefinition.cs
- Source:
- ImportDefinition.cs
Initialise une nouvelle instance de la ImportDefinition classe en fonction des attributs 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))
Paramètres
- contractName
- String
- cardinality
- ImportCardinality
- metadata
- IReadOnlyDictionary<String,Object>
- additionalConstraints
- IReadOnlyCollection<IImportSatisfiabilityConstraint>
- exportFactorySharingBoundaries
- IReadOnlyCollection<String>