Skip to content

Properties_T_Ifp_Validation_ValidationRuleDelegate_1

Martin Strecker edited this page Mar 9, 2019 · 5 revisions

ValidationRuleDelegate(T) Properties

The ValidationRuleDelegate(T) generic type exposes the following members.

Properties

 

Name Description
Public property CausesValidationProcessToStop Use the constructor ValidationRuleDelegate(T)(ValidationFunction(T), Boolean) to configure this property. Return true if the RuleBasedValidator(T) should not proceed validation tests in case this validation rule returns a ValidationOutcome with IsAnError. This is useful to prevent further processing of rules in cases where all the following rules will also fail. A typical use case is a check for objectToValidate == null.
Protected property ValidationFunction The ValidationFunction(T) passes to the constructor.
  Back to Top

See Also

Reference

ValidationRuleDelegate(T) Class
Ifp.Validation Namespace

Clone this wiki locally