Class StringLengthValidationRule
ValidationRule stating that a maximum length of a string has been exceeded.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public sealed class StringLengthValidationRule : ValidationRule
Constructors
StringLengthValidationRule(Int32, Int32)
Default constructor.
Declaration
public StringLengthValidationRule(int maxLength, int actualLength)
Parameters
Type | Name | Description |
---|---|---|
Int32 | maxLength | Maximum length of the string. |
Int32 | actualLength | Actual length of the string. |
Properties
ActualLength
Actual length of the string.
Declaration
public int ActualLength { get; }
Property Value
Type | Description |
---|---|
Int32 |
MaxLength
Maximum length of the string
Declaration
public int MaxLength { get; }
Property Value
Type | Description |
---|---|
Int32 |
Extension Methods
EnumUtil.MapEnums<From, To>(From)