3 instantiations of ValidateContext
Microsoft.AspNetCore.Components.Forms (2)
EditContextDataAnnotationsExtensions.cs (2)
149var validateContext = new ValidateContext 211var validateContext = new ValidateContext
Microsoft.AspNetCore.Routing (1)
ValidationEndpointFilterFactory.cs (1)
82validateContext = new ValidateContext
17 references to ValidateContext
Microsoft.AspNetCore.Components.Forms (2)
EditContextDataAnnotationsExtensions.cs (2)
149var validateContext = new ValidateContext 211var validateContext = new ValidateContext
Microsoft.AspNetCore.Routing (1)
ValidationEndpointFilterFactory.cs (1)
61ValidateContext? validateContext = null;
Microsoft.Extensions.Validation (14)
DisplayNameInfo.cs (3)
20/// pipeline calls <see cref="GetDisplayName(ValidateContext, string, Type?)"/> once per 27/// <see cref="ValidateContext.ValidationOptions"/>. Implementations that source their value 50public abstract string? GetDisplayName(ValidateContext context, string memberName, Type? declaringType);
IValidatableInfo.cs (1)
21Task ValidateAsync(object? value, ValidateContext context, CancellationToken cancellationToken);
RuntimeValidatableParameterInfoResolver.cs (2)
106public override string? GetDisplayName(ValidateContext context, string memberName, Type? declaringType) 127public override string? GetDisplayName(ValidateContext context, string memberName, Type? declaringType)
ValidatableParameterInfo.cs (1)
63public virtual async Task ValidateAsync(object? value, ValidateContext context, CancellationToken cancellationToken)
ValidatablePropertyInfo.cs (1)
68public virtual async Task ValidateAsync(object? value, ValidateContext context, CancellationToken cancellationToken)
ValidatableTypeInfo.cs (6)
70/// from super-types, matching the order in which <see cref="ValidateAsync(object?, ValidateContext, CancellationToken)"/> 117public virtual async Task ValidateAsync(object? value, ValidateContext context, CancellationToken cancellationToken) 175private async Task ValidateMembersAsync(object? value, ValidateContext context, CancellationToken cancellationToken) 193private void ValidateTypeAttributes(object? value, ValidateContext context, string displayName) 249private void ValidateValidatableObjectInterface(object? value, ValidateContext context, string displayName) 289private IEnumerable<ValidatableTypeInfo> GetSuperTypeInfos(Type actualType, ValidateContext context)