1 write to ModelMetadata
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ClientValidatorProviderContext.cs (1)
19
ModelMetadata
= modelMetadata;
5 references to ModelMetadata
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ClientValidatorProviderContext.cs (1)
34
public IReadOnlyList<object> ValidatorMetadata =>
ModelMetadata
.ValidatorMetadata;
Microsoft.AspNetCore.Mvc.DataAnnotations (4)
DataAnnotationsClientModelValidatorProvider.cs (3)
54
context.
ModelMetadata
.ContainerType ?? context.
ModelMetadata
.ModelType,
89
if (!hasRequiredAttribute && context.
ModelMetadata
.IsRequired)
NumericClientModelValidatorProvider.cs (1)
19
var typeToValidate = context.
ModelMetadata
.UnderlyingOrModelType;