17 overrides of IsValid
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Metadata\ModelAttributesTest.cs (1)
371public override bool IsValid(object value)
ModelBinding\ParameterBinderTest.cs (1)
883public override bool IsValid(object value)
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
TryValidateModelIntegrationTest.cs (1)
186public override bool IsValid(object value)
ValidationIntegrationTests.cs (1)
2132public override bool IsValid(object value)
ValidationWithRecordIntegrationTests.cs (1)
1923public override bool IsValid(object value)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
RemoteAttributeBase.cs (1)
127public override bool IsValid(object? value)
System.ComponentModel.Annotations (11)
System\ComponentModel\DataAnnotations\AllowedValuesAttribute.cs (1)
44public override bool IsValid(object? value)
System\ComponentModel\DataAnnotations\Base64StringAttribute.cs (1)
36public override bool IsValid(object? value)
System\ComponentModel\DataAnnotations\DataTypeAttribute.cs (1)
104public override bool IsValid(object? value)
System\ComponentModel\DataAnnotations\DeniedValuesAttribute.cs (1)
44public override bool IsValid(object? value)
System\ComponentModel\DataAnnotations\LengthAttribute.cs (1)
49public override bool IsValid(object? value)
System\ComponentModel\DataAnnotations\MaxLengthAttribute.cs (1)
66public override bool IsValid(object? value)
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (1)
49public override bool IsValid(object? value)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (1)
131public override bool IsValid(object? value)
System\ComponentModel\DataAnnotations\RegularExpressionAttribute.cs (1)
56public override bool IsValid(object? value)
System\ComponentModel\DataAnnotations\RequiredAttribute.cs (1)
38public override bool IsValid(object? value)
System\ComponentModel\DataAnnotations\StringLengthAttribute.cs (1)
45public override bool IsValid(object? value)
18 references to IsValid
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (2)
DataAnnotationsModelValidatorTest.cs (2)
132attribute.Setup(a => a.IsValid(model)).Returns(true); 161attribute.Setup(a => a.IsValid(model)).Returns(false);
System.ComponentModel.Annotations (16)
System\ComponentModel\DataAnnotations\AllowedValuesAttribute.cs (1)
33/// Determines whether a specified object is valid. (Overrides <see cref="ValidationAttribute.IsValid(object)" />)
System\ComponentModel\DataAnnotations\Base64StringAttribute.cs (1)
29/// Determines whether a specified object is valid. (Overrides <see cref="ValidationAttribute.IsValid(object)" />)
System\ComponentModel\DataAnnotations\DataTypeAttribute.cs (1)
98/// Override of <see cref="ValidationAttribute.IsValid(object)" />
System\ComponentModel\DataAnnotations\DeniedValuesAttribute.cs (1)
33/// Determines whether a specified object is valid. (Overrides <see cref="ValidationAttribute.IsValid(object)" />)
System\ComponentModel\DataAnnotations\LengthAttribute.cs (1)
34/// Determines whether a specified object is valid. (Overrides <see cref="ValidationAttribute.IsValid(object)" />)
System\ComponentModel\DataAnnotations\MaxLengthAttribute.cs (1)
54/// Determines whether a specified object is valid. (Overrides <see cref="ValidationAttribute.IsValid(object)" />)
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (1)
36/// Determines whether a specified object is valid. (Overrides <see cref="ValidationAttribute.IsValid(object)" />)
System\ComponentModel\DataAnnotations\RegularExpressionAttribute.cs (1)
47/// Override of <see cref="ValidationAttribute.IsValid(object)" />
System\ComponentModel\DataAnnotations\RequiredAttribute.cs (1)
31/// Override of <see cref="ValidationAttribute.IsValid(object)" />
System\ComponentModel\DataAnnotations\StringLengthAttribute.cs (1)
36/// Override of <see cref="ValidationAttribute.IsValid(object)" />
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (6)
370/// Derived classes should override this method instead of <see cref="IsValid(object)" />, which is deprecated. 399return IsValid(value) 457/// This base method invokes the <see cref="IsValid(object)" /> method to determine whether or not the 458/// <paramref name="value" /> is acceptable. If <see cref="IsValid(object)" /> returns <c>false</c>, this base 465/// is thrown if <see cref="IsValid(object)" /> returns <c>false</c>. 470if (!IsValid(value))