SaaS CMS has officially launched! Learn more now.

Class FileFieldValidator

Represent file field validator.

Inheritance
System.Object
FileFieldValidator
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 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