OtherCompanyValidAttribute Methods

The OtherCompanyValidAttribute type exposes the following members.

Methods


  Name Description
Public method Equals(System.Object)
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method FormatErrorMessage (Inherited from ModelAwareValidationAttribute.)
Protected method GetClientValidationParameters (Inherited from ModelAwareValidationAttribute.)
Public method GetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetValidationResult(System.Object,System.ComponentModel.DataAnnotations.ValidationContext)
Checks whether the specified value is valid with respect to the current validation attribute.
(Inherited from ValidationAttribute.)
Public method IsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public method IsValid(Object, Object)
Returns true if ... is valid.
Protected method IsValid(Object, ValidationContext) (Inherited from ModelAwareValidationAttribute.)
Public method IsValid(System.Object)
Determines whether the specified value of the object is valid.
(Inherited from ValidationAttribute.)
Public method Match(System.Object)
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method Validate(System.Object,System.String)
Validates the specified object.
(Inherited from ValidationAttribute.)
Public method Validate(System.Object,System.ComponentModel.DataAnnotations.ValidationContext)
Validates the specified object.
(Inherited from ValidationAttribute.)