Class ContainsRule
- Namespace
- Dynamicweb.Ecommerce.Orders.Validation.Rules
- Assembly
- Dynamicweb.Ecommerce.dll
The class ContainsRule represents Rule based on contains checking.
[AddInName("Contains")]
[AddInUseParameters(true)]
[AddInOrder(0)]
public class ContainsRule : Rule
- Inheritance
-
ContainsRule
- Derived
- Inherited Members
Properties
Parameters
The rule parameters.
public override string Parameters { get; set; }
Property Value
Methods
Validates(string)
Validates value according the "contains" checking.
public override bool Validates(string value)
Parameters
value
stringThe value to validate.