7 overrides of IsValid
System.ComponentModel.DataAnnotations (7)
DataAnnotations\DataTypeAttribute.cs (1)
98
override bool
IsValid
(object value) {
DataAnnotations\MaxLengthAttribute.cs (1)
54
public override bool
IsValid
(object value) {
DataAnnotations\MinLengthAttribute.cs (1)
39
public override bool
IsValid
(object value) {
DataAnnotations\RangeAttribute.cs (1)
92
override bool
IsValid
(object value) {
DataAnnotations\RegularExpressionAttribute.cs (1)
59
override bool
IsValid
(object value) {
DataAnnotations\RequiredAttribute.cs (1)
35
override bool
IsValid
(object value) {
DataAnnotations\StringLengthAttribute.cs (1)
50
override bool
IsValid
(object value) {
13 references to IsValid
System.ComponentModel.DataAnnotations (12)
DataAnnotations\DataTypeAttribute.cs (1)
87
/// Override of <see cref="ValidationAttribute.
IsValid
(object)"/>
DataAnnotations\MaxLengthAttribute.cs (1)
45
/// Determines whether a specified object is valid. (Overrides <see cref = "ValidationAttribute.
IsValid
(object)" />)
DataAnnotations\MinLengthAttribute.cs (1)
30
/// Determines whether a specified object is valid. (Overrides <see cref = "ValidationAttribute.
IsValid
(object)" />)
DataAnnotations\RegularExpressionAttribute.cs (1)
47
/// Override of <see cref="ValidationAttribute.
IsValid
(object)"/>
DataAnnotations\RequiredAttribute.cs (1)
25
/// Override of <see cref="ValidationAttribute.
IsValid
(object)"/>
DataAnnotations\StringLengthAttribute.cs (1)
38
/// Override of <see cref="ValidationAttribute.
IsValid
(object)"/>
DataAnnotations\ValidationAttribute.cs (6)
337
/// Derived classes should override this method instead of <see cref="
IsValid
(object)"/>, which is deprecated.
380
if (!this.
IsValid
(value)) {
438
/// <remarks>This base method invokes the <see cref="
IsValid
(object)"/> method to determine whether or not the
439
/// <paramref name="value"/> is acceptable. If <see cref="
IsValid
(object)"/> returns <c>false</c>, this base
445
/// <exception cref="ValidationException"> is thrown if <see cref="
IsValid
(object)"/> returns <c>false</c>.
449
if (!this.
IsValid
(value)) {
System.Web.DynamicData (1)
DynamicData\DynamicValidator.cs (1)
166
if (!attrib.
IsValid
(value)) {