Class StringFieldValidator
Represents string field validator.
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.2Syntax
public class StringFieldValidator : BaseFieldValidator, IFieldValidator, IValidator
Constructors
StringFieldValidator()
Initializes a new instance of the StringFieldValidator class.
Declaration
public StringFieldValidator()
Properties
AllowNull
Gets or sets a value indicating whether [allow null].
Declaration
public bool AllowNull { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MaxLength
Gets or sets the length of the max.
Declaration
public int MaxLength { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The length of the max. |
RegexPattern
Gets or sets the regex pattern.
Declaration
public string RegexPattern { get; set; }
Property Value
Type | Description |
---|---|
System.String | The regex pattern. |
Methods
EvaluateIsValid()
Evaluates the is valid.
Declaration
protected override bool EvaluateIsValid()
Returns
Type | Description |
---|---|
System.Boolean |