Share via


ImportMetadataViewConstraint Constructor

Definition

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.

Applies to