NewtonsoftJsonValidationMetadataProvider 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
NewtonsoftJsonValidationMetadataProvider() |
Creates a new NewtonsoftJsonValidationMetadataProvider with the default Newtonsoft.Json.Serialization.CamelCaseNamingStrategy |
NewtonsoftJsonValidationMetadataProvider(NamingStrategy) |
Initializes a new instance of NewtonsoftJsonValidationMetadataProvider with an optional Newtonsoft.Json.Serialization.NamingStrategy |
NewtonsoftJsonValidationMetadataProvider()
Creates a new NewtonsoftJsonValidationMetadataProvider with the default Newtonsoft.Json.Serialization.CamelCaseNamingStrategy
public NewtonsoftJsonValidationMetadataProvider ();
Public Sub New ()
Applies to
NewtonsoftJsonValidationMetadataProvider(NamingStrategy)
Initializes a new instance of NewtonsoftJsonValidationMetadataProvider with an optional Newtonsoft.Json.Serialization.NamingStrategy
public NewtonsoftJsonValidationMetadataProvider (Newtonsoft.Json.Serialization.NamingStrategy namingStrategy);
new Microsoft.AspNetCore.Mvc.NewtonsoftJson.NewtonsoftJsonValidationMetadataProvider : Newtonsoft.Json.Serialization.NamingStrategy -> Microsoft.AspNetCore.Mvc.NewtonsoftJson.NewtonsoftJsonValidationMetadataProvider
Public Sub New (namingStrategy As NamingStrategy)
Parameters
- namingStrategy
- Newtonsoft.Json.Serialization.NamingStrategy
The Newtonsoft.Json.Serialization.NamingStrategy to be used to configure the metadata provider.