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 FileFieldValidator

Represent file field validator.

Inheritance
System.Object
FileFieldValidator
Namespace: Mediachase.BusinessFoundation.Data
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0
Syntax
public class FileFieldValidator : BaseFieldValidator, IFieldValidator, IValidator

Constructors

FileFieldValidator()

Initializes a new instance of the FileFieldValidator class.

Declaration
public FileFieldValidator()

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.

ValidationExpression

Gets or sets the validation expression.

Declaration
public string ValidationExpression { get; set; }
Property Value
Type Description
System.String

The validation expression.

Methods

EvaluateIsValid()

Evaluates the is valid.

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

Implements