ValidationResult Members

Represents the result returned by the ValidationRule.Validate method that indicates whether the checked value passed the ValidationRule.

The following tables list the members exposed by the ValidationResult type.

  Name Description
Public method ValidationResult Initializes a new instance of the ValidationResult class.

  Name Description
Public property ErrorContent Gets an object that provides additional information about the invalidity.
Public property IsValid Gets a value that indicates whether the value checked against the ValidationRule is valid.
Public property Static ValidResult Gets a valid instance of ValidationResult.

(see also Protected Methods )
  Name Description
Public method Equals Overloaded. Overridden.  
Public method GetHashCode Overridden. Returns the hash code for this ValidationResult.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static op_Equality Compares two ValidationResult objects for value equality.
Public method Static op_Inequality Compares two ValidationResult objects for value inequality.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Community Additions