Table of Contents

Class RegexRule

Namespace
Dynamicweb.Ecommerce.Orders.Validation.Rules
Assembly
Dynamicweb.Ecommerce.dll

The class RegexRule represents Rule based on successful path via regular expression checking.

[AddInName("Regular expression")]
[AddInUseParameters(true)]
[AddInOrder(11)]
public class RegexRule : Rule
Inheritance
RegexRule
Inherited Members

Properties

Parameters

The rule parameters.

public override string Parameters { get; set; }

Property Value

string

Methods

Validates(string)

Validates value according the "successful path via regular expression" checking.

public override bool Validates(string value)

Parameters

value string

The value to validate.

Returns

bool
To top