A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class DecimalFieldValidator

Represents decimal field validator.

Inheritance
System.Object
DecimalFieldValidator
Namespace: Mediachase.BusinessFoundation.Data
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0
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