SaaS CMS has officially launched! Learn more now.

Class DecimalFieldValidator

Represents decimal field validator.

Inheritance
System.Object
DecimalFieldValidator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public class DecimalFieldValidator : BaseFieldValidator, IFieldValidator, IValidator

Constructors

DecimalFieldValidator()

Initializes a new instance of the DecimalFieldValidator class.

Declaration
public DecimalFieldValidator()

Properties

AllowNull

Gets or sets a value indicating whether [allow null].

Declaration
public bool AllowNull { get; set; }
Property Value
Type Description
System.Boolean

true if [allow null]; otherwise, false.

MaxValue

Gets or sets the max value.

Declaration
public decimal MaxValue { get; set; }
Property Value
Type Description
System.Decimal

The max value.

MinValue

Gets or sets the min value.

Declaration
public decimal MinValue { get; set; }
Property Value
Type Description
System.Decimal

The min value.

Methods

EvaluateIsValid()

Evaluates the is valid.

Declaration
protected override bool EvaluateIsValid()
Returns
Type Description
System.Boolean
Overrides

Implements