Show / Hide Table of Contents

Class StringLengthValidationRule

ValidationRule stating that a maximum length of a string has been exceeded.

Inheritance
object
ValidationRule
StringLengthValidationRule
Inherited Members
ValidationRule.FieldValidationRule
ValidationRule.HasValidationFailed
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public sealed class StringLengthValidationRule : ValidationRule

Constructors

StringLengthValidationRule(int, int)

Default constructor.

Declaration
public StringLengthValidationRule(int maxLength, int actualLength)
Parameters
Type Name Description
int maxLength

Maximum length of the string.

int actualLength

Actual length of the string.

Properties

ActualLength

Actual length of the string.

Declaration
public int ActualLength { get; }
Property Value
Type Description
int

MaxLength

Maximum length of the string

Declaration
public int MaxLength { get; }
Property Value
Type Description
int

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top