OtherCompanyValidAttribute Members

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.)

Properties


  Name Description
Public property ClientTypeName (Inherited from ModelAwareValidationAttribute.)
Public property ClientValidationParameters (Inherited from ModelAwareValidationAttribute.)
Public property DefaultErrorMessage (Inherited from ModelAwareValidationAttribute.)
Public property ErrorMessage
Gets or sets an error message to associate with a validation control if validation fails.
(Inherited from ValidationAttribute.)
Public property ErrorMessageResourceName
Gets or sets the error message resource name to use in order to look up the ErrorMessageResourceType property value if validation fails.
(Inherited from ValidationAttribute.)
Public property ErrorMessageResourceType
Gets or sets the resource type to use for error-message lookup if validation fails.
(Inherited from ValidationAttribute.)
Protected property ErrorMessageString
Gets the localized validation error message.
(Inherited from ValidationAttribute.)
Public property RequiresValidationContext
Gets a value that indicates whether the attribute requires validation context.
(Inherited from ValidationAttribute.)
Public property TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)