SystemTextJsonValidationMetadataProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SystemTextJsonValidationMetadataProvider() |
Creates a new SystemTextJsonValidationMetadataProvider with the default CamelCase |
SystemTextJsonValidationMetadataProvider(JsonNamingPolicy) |
Creates a new SystemTextJsonValidationMetadataProvider with an optional JsonNamingPolicy |
SystemTextJsonValidationMetadataProvider()
Creates a new SystemTextJsonValidationMetadataProvider with the default CamelCase
public SystemTextJsonValidationMetadataProvider ();
Public Sub New ()
Applies to
SystemTextJsonValidationMetadataProvider(JsonNamingPolicy)
Creates a new SystemTextJsonValidationMetadataProvider with an optional JsonNamingPolicy
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.