Table of Contents

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
Inherited Members

Properties

Parameters

The rule parameters.
public override string Parameters { get; set; }

Property Value

string

Methods

Validates(string)

Validates value according the "contains" checking.
public override bool Validates(string value)

Parameters

value string
The value to validate.

Returns

bool
To top