Compartilhar via


ImportMetadataViewConstraint Construtor

Definição

Inicializa uma nova instância da classe ImportMetadataViewConstraint.

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)

Parâmetros

metadataNamesAndTypes
IReadOnlyDictionary<String,ImportMetadataViewConstraint.MetadatumRequirement>

Os nomes e requisitos de metadados.

resolver
Resolver

Um resolvedor a ser usado ao manipular TypeRef objetos. Não deve ser nulo, a menos que metadataNamesAndTypes esteja vazio.

Aplica-se a