ImportDefinition コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String,Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>)
MEF v1 属性に ImportDefinition 基づいて、 クラスの新しいインスタンスを初期化します。
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))
パラメーター
- contractName
- String
- cardinality
- ImportCardinality
- metadata
- IReadOnlyDictionary<String,Object>
- additionalConstraints
- IReadOnlyCollection<IImportSatisfiabilityConstraint>
適用対象
ImportDefinition(String, ImportCardinality, IReadOnlyDictionary<String, Object>, IReadOnlyCollection<IImportSatisfiabilityConstraint>, IReadOnlyCollection<String>)
MEF v2 属性に ImportDefinition 基づいて、 クラスの新しいインスタンスを初期化します。
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))
パラメーター
- contractName
- String
- cardinality
- ImportCardinality
- metadata
- IReadOnlyDictionary<String,Object>
- additionalConstraints
- IReadOnlyCollection<IImportSatisfiabilityConstraint>
- exportFactorySharingBoundaries
- IReadOnlyCollection<String>