5 references to Validator
Microsoft.AspNetCore.Components.Forms (2)
EditContextDataAnnotationsExtensions.cs (2)
96
Validator
.TryValidateProperty(propertyValue, validationContext, results);
114
Validator
.TryValidateObject(_editContext.Model, validationContext, validationResults, true);
Microsoft.Extensions.Options.DataAnnotations (2)
DataAnnotationValidateOptions.cs (2)
16
/// Implementation of <see cref="IValidateOptions{TOptions}"/> that uses DataAnnotation's <see cref="
Validator
"/> for validation.
85
bool res =
Validator
.TryValidateObject(options, new ValidationContext(options), results, validateAllProperties: true);
System.ComponentModel.DataAnnotations (1)
System.ComponentModel.DataAnnotations.cs (1)
46
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.DataAnnotations.
Validator
))]