Show / Hide Table of Contents

Class ValidationRule

Base class for the validation rule.

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

Constructors

ValidationRule(FieldValidationRule, bool)

default constructor.

Declaration
public ValidationRule(FieldValidationRule fieldValidationRule, bool hasValidationFailed)
Parameters
Type Name Description
FieldValidationRule fieldValidationRule

The rule that failed.

bool hasValidationFailed

True if the validation failed.

Properties

FieldValidationRule

The rule that failed.

Declaration
public virtual FieldValidationRule FieldValidationRule { get; }
Property Value
Type Description
FieldValidationRule

HasValidationFailed

True if the validation failed.

Declaration
public virtual bool HasValidationFailed { get; }
Property Value
Type Description
bool

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