1 write to Type
Microsoft.Extensions.Validation (1)
ValidatableTypeInfo.cs (1)
28
Type
= type;
5 references to Type
Microsoft.Extensions.Validation (3)
ValidatableTypeInfo.cs (3)
56
$"Maximum validation depth of {context.ValidationOptions.MaxDepth} exceeded at '{context.CurrentValidationPath}' in '{
Type
.Name}'. " +
90
if (
Type
.ImplementsInterface(typeof(IValidatableObject)) && value is IValidatableObject validatable)
98
context.ValidationContext.DisplayName =
Type
.Name;
Microsoft.Extensions.Validation.Tests (2)
ValidatableInfoResolverTests.cs (2)
59
Assert.Equal(typeof(ValidatableType), validatableTypeInfo.
Type
);
158
Assert.Equal(typeof(ValidatableType), ((ValidatableTypeInfo)validatableInfo).
Type
);