November Happy Hour will be moved to Thursday December 5th.

Class EnumFieldValidator

Represents enum field validator.

Inheritance
System.Object
EnumFieldValidator
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: 12.17.2
Syntax
public class EnumFieldValidator : BaseFieldValidator, IFieldValidator, IValidator

Constructors

EnumFieldValidator()

Initializes a new instance of the EnumFieldValidator class.

Declaration
public EnumFieldValidator()

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.

EnumTypeName

Gets or sets the name of the enum type.

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

The name of the enum type.

IsMultivalue

Gets or sets a value indicating whether this instance is multivalue.

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

true if this instance is multivalue; otherwise, false.

Methods

EvaluateIsValid()

Evaluates the is valid.

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

Implements