Partilhar via


SystemTextJsonValidationMetadataProvider Construtores

Definição

Sobrecargas

SystemTextJsonValidationMetadataProvider()

Cria um novo SystemTextJsonValidationMetadataProvider com o padrão CamelCase

SystemTextJsonValidationMetadataProvider(JsonNamingPolicy)

Cria um novo SystemTextJsonValidationMetadataProvider com um opcional JsonNamingPolicy

SystemTextJsonValidationMetadataProvider()

Origem:
SystemTextJsonValidationMetadataProvider.cs
public SystemTextJsonValidationMetadataProvider ();
Public Sub New ()

Aplica-se a

SystemTextJsonValidationMetadataProvider(JsonNamingPolicy)

Origem:
SystemTextJsonValidationMetadataProvider.cs
public SystemTextJsonValidationMetadataProvider (System.Text.Json.JsonNamingPolicy namingPolicy);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.SystemTextJsonValidationMetadataProvider : System.Text.Json.JsonNamingPolicy -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.SystemTextJsonValidationMetadataProvider
Public Sub New (namingPolicy As JsonNamingPolicy)

Parâmetros

namingPolicy
JsonNamingPolicy

O JsonNamingPolicy a ser usado para configurar o provedor de metadados.

Aplica-se a