Table of Contents

Class MaxLengthRule

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

The class MaxLengthRule represents Rule based on max length checking.

[AddInName("Maximum length")]
[AddInUseParameters(true)]
[AddInOrder(7)]
public class MaxLengthRule : MinLengthRule
Inheritance
MaxLengthRule
Inherited Members

Methods

Validates(string)

Validates value according the "max length" checking.

public override bool Validates(string value)

Parameters

value string

The value to validate.

Returns

bool
To top