namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata {
+ public sealed class SystemTextJsonValidationMetadataProvider : IDisplayMetadataProvider, IMetadataDetailsProvider, IValidationMetadataProvider {
+ public SystemTextJsonValidationMetadataProvider();
+ public SystemTextJsonValidationMetadataProvider(JsonNamingPolicy namingPolicy);
+ public void CreateDisplayMetadata(DisplayMetadataProviderContext context);
+ public void CreateValidationMetadata(ValidationMetadataProviderContext context);
+ }
public class ValidationMetadata {
+ public string ValidationModelName { get; set; }
}
}