Skip to content

P_Ifp_Validation_ValidationRuleDelegate_1_CausesValidationProcessToStop

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

ValidationRuleDelegate(T).CausesValidationProcessToStop Property

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.

Namespace: Ifp.Validation
Assembly: Ifp.Validation (in Ifp.Validation.dll) Version: 1.4.0

Syntax

C#

public bool CausesValidationProcessToStop { get; }

VB

Public ReadOnly Property CausesValidationProcessToStop As Boolean
	Get

C++

public:
virtual property bool CausesValidationProcessToStop {
	bool get () sealed;
}

F#

abstract CausesValidationProcessToStop : bool with get
override CausesValidationProcessToStop : bool with get

Property Value

Type: Boolean

Implements

IValidationRule(T).CausesValidationProcessToStop

See Also

Reference

ValidationRuleDelegate(T) Class
Ifp.Validation Namespace

Clone this wiki locally