Class RequiredRule
- Namespace
- Dynamicweb.Ecommerce.Orders.Validation.Rules
- Assembly
- Dynamicweb.Ecommerce.dll
The class RequiredRule represents Rule based on required checking.
[AddInName("Required")]
[AddInUseParameters(false)]
[AddInOrder(-1)]
public class RequiredRule : MinLengthRule
- Inheritance
-
RequiredRule
- Inherited Members
Methods
Validates(string)
Validates value according the "required" checking.
public override bool Validates(string value)
Parameters
value
stringThe value to validate.