EmailValidationAttribute Methods

Methods

EqualsReturns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
FormatErrorMessageFormats the error message to display if the regular expression validation fails.
(Inherited from RegularExpressionAttribute)
GetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValidationResultChecks whether the specified value is valid with respect to the current validation attribute.
(Inherited from ValidationAttribute)
IsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
IsValidChecks whether the value entered by the user matches the regular expression pattern.
(Inherited from RegularExpressionAttribute)
MatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Validate(Object, ValidationContext)Validates the specified object.
(Inherited from ValidationAttribute)
Validate(Object, String)Validates the specified object.
(Inherited from ValidationAttribute)

Extension Methods

GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)

See Also