Validator MembersCleanCode C# Libraries v1.2.03 API

The Validator type exposes the following members.
Constructors

  NameDescription
Public methodValidator
Initializes a new instance of the Validator class.
Back to Top
Methods

  NameDescription
Public methodAdd(Control)
Adds the specified OnlineControl to the list of form fields to validate.
Public methodAdd(DataGridView, Label)
Adds the specified OnlineDataGridView and its associated error label to the list of form fields to validate.
Public methodAdd(TextBox, Label)
Adds the specified OnlineTextBox and its associated error label to the list of form fields to validate.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Public methodValidate(Control)
Validates the specified non-OnlineDataGridView form control.
Public methodValidate(DataGridView, DataGridViewCellValidatingEventArgs)
Validates the specified OnlineDataGridView form control.
Public methodValidateAll
Validates all registered form controls.
Back to Top
See Also