Table of Contents

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

Fields

Param

protected int Param

Field Value

int

Properties

Parameters

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

Property Value

string

Methods

Validates(string)

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

Parameters

value string
The value to validate.

Returns

bool
To top