Skip to content

Methods_T_Ifp_Validation_ValidationRule_1

Martin Strecker edited this page Mar 9, 2019 · 6 revisions

ValidationRule(T) Methods

The ValidationRule(T) generic type exposes the following members.

Methods

 

Name Description
Public method Equals 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 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 methodCode example ValidateObject Checks the objectToValidate and returns a ValidationOutcome.
  Back to Top

Extension Methods

 

Name Description
Public Extension Method ToValidator(T) Converts a IValidationRule(T) into an IValidator(T). (Defined by ValidationSummaryBuilderExtensions.)
  Back to Top

See Also

Reference

ValidationRule(T) Class
Ifp.Validation Namespace

Clone this wiki locally