CalculationWorks Logo
BcfTableSetupAddValidator Method (Type)CalculationWorks BCF Library 1.1 for .NET Framework 4.5

[This is preliminary documentation and is subject to change.]

Adds a new validator to the Validators collection and returns the new associated BcfValidatorSetup

Namespace: CalculationWorks.BusinessModel.Design
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 1.1.0.0
Syntax

public BcfValidatorSetup AddValidator(
	Type validatorType
)

Parameters

validatorType
Type: SystemType
Type of the validator.

Return Value

Type: BcfValidatorSetup
BcfValidatorSetup.
Exceptions

ExceptionCondition
ArgumentNullExceptionvalidatorType
ArgumentExceptionvalidatorType default constructor not found
ArgumentExceptionvalidatorType is not a subclass of BcfValidatorBase
See Also

Reference