Wisej.Web.IntegerValidationRule
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Validates long integer values.
Initializes a new instance of the IntegerValidationRule class.
Nullable<Int64>: Returns or sets the maximum value; or null for no maximum. (Default: null
)
Nullable<Int64>: Returns or sets the minimum value; or null for no minimum. (Default: null
)
String: Returns or sets the name of the validation rule. (Default: "Integer"
)
Boolean: Returns or sets whether the control can be empty or its required to have a value. (Default: False
)
Validates the control using the validation rule.
Returns: Boolean. true if the validation is successful; otherwise false.
Parameter | Type | Description |
---|---|---|
control