Table of Contents

Class NumericRule

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

The class NumericRule represents Rule based on is number checking.

[AddInName("Is numeric")]
[AddInUseParameters(false)]
[AddInOrder(5)]
public class NumericRule : Rule
Inheritance
NumericRule
Inherited Members

Properties

Parameters

The rule parameters.

public override string Parameters { get; set; }

Property Value

string

Methods

Validates(string)

Validates value according the "is number" checking.

public override bool Validates(string value)

Parameters

value string

The value to validate.

Returns

bool
To top