Share via


SystemTextJsonValidationMetadataProvider Constructors

Definition

Overloads

SystemTextJsonValidationMetadataProvider()

Creates a new SystemTextJsonValidationMetadataProvider with the default CamelCase

SystemTextJsonValidationMetadataProvider(JsonNamingPolicy)

Creates a new SystemTextJsonValidationMetadataProvider with an optional JsonNamingPolicy

SystemTextJsonValidationMetadataProvider()

Source:
SystemTextJsonValidationMetadataProvider.cs

Creates a new SystemTextJsonValidationMetadataProvider with the default CamelCase

public SystemTextJsonValidationMetadataProvider ();
Public Sub New ()

Applies to

SystemTextJsonValidationMetadataProvider(JsonNamingPolicy)

Source:
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)

Parameters

namingPolicy
JsonNamingPolicy

The JsonNamingPolicy to be used to configure the metadata provider.

Applies to