IValidatable Methods

The IValidatable type exposes the following members.

Methods


  Name Description
Public method ClearErrors
Clears the error collections and the HasErrors property
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 GetAllErrors
Returns a collection of all errors (object and property level).
Public method GetErrors()()()()
Returns a collection of object-level errors.
Public method GetErrors(String)
Returns a collection of property-level errors.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
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
This forces the object to be completely revalidated.