Compartilhar via


ValidationMetadataProviderContext Construtor

Definição

public:
 ValidationMetadataProviderContext(Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelMetadataIdentity key, Microsoft::AspNetCore::Mvc::ModelBinding::ModelAttributes ^ attributes);
public ValidationMetadataProviderContext (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity key, Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes attributes);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity * Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext
Public Sub New (key As ModelMetadataIdentity, attributes As ModelAttributes)

Parâmetros

attributes
ModelAttributes

Os atributos para o ModelMetadata.

Aplica-se a