Class MinLengthRule
- Namespace
- Dynamicweb.Ecommerce.Orders.Validation.Rules
- Assembly
- Dynamicweb.Ecommerce.dll
The class MinLengthRule represents Rule based on min length checking.
[AddInName("Minimum length")]
[AddInUseParameters(true)]
[AddInOrder(6)]
public class MinLengthRule : Rule
- Inheritance
-
MinLengthRule
- Derived
- Inherited Members
Fields
Param
protected int Param
Field Value
Properties
Parameters
The rule parameters.
public override string Parameters { get; set; }
Property Value
Methods
Validates(string)
Validates value according the "min length" checking.
public override bool Validates(string value)
Parameters
value
stringThe value to validate.