QuickObjects.ObjectBase Send comments on this topic.
BaseFieldValidator Constructor(BaseField,Boolean)
See Also 
Akal.QuickObjects.ObjectBase Namespace > BaseFieldValidator Class > BaseFieldValidator Constructor : BaseFieldValidator Constructor(BaseField,Boolean)
field
Field instance that will be validated by this validator.
addToValidators
If true is passed the validator will be automatically added to the passed in field's validators collection.
Overloaded Constructor takes an instance of type BaseField and sets the FieldToValidate property. In addition to setting the FieldToValidate property, this constructor will accept a boolean value that will decide if the validator should be automatically added into the Validators collection of the passed in field.

Syntax

C# 
public BaseFieldValidator( 
   BaseField field,
   bool addToValidators
)

Parameters

field
Field instance that will be validated by this validator.
addToValidators
If true is passed the validator will be automatically added to the passed in field's validators collection.

Requirements

Target Platforms: .NET Framework 1.1 or .NET Framework 2.0

See Also