ImportMetadataViewConstraint Constructor
Definition
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.
Initializes a new instance of the ImportMetadataViewConstraint class.
public ImportMetadataViewConstraint (System.Collections.Generic.IReadOnlyDictionary<string,Microsoft.VisualStudio.Composition.ImportMetadataViewConstraint.MetadatumRequirement> metadataNamesAndTypes, Microsoft.VisualStudio.Composition.Resolver resolver);
new Microsoft.VisualStudio.Composition.ImportMetadataViewConstraint : System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.VisualStudio.Composition.ImportMetadataViewConstraint.MetadatumRequirement> * Microsoft.VisualStudio.Composition.Resolver -> Microsoft.VisualStudio.Composition.ImportMetadataViewConstraint
Public Sub New (metadataNamesAndTypes As IReadOnlyDictionary(Of String, ImportMetadataViewConstraint.MetadatumRequirement), resolver As Resolver)
Parameters
- metadataNamesAndTypes
- IReadOnlyDictionary<String,ImportMetadataViewConstraint.MetadatumRequirement>
The metadata names and requirements.
- resolver
- Resolver
A resolver to use when handling TypeRef objects. Must not be null unless metadataNamesAndTypes
is empty.