Skip to content

M_Ifp_Validation_RuleBasedValidator_1_ProcessValidations

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

RuleBasedValidator(T).ProcessValidations Method

Processes the Rules one after the other and stops if a rule returns a ValidationOutcome with IsAnError and CausesValidationProcessToStop both set to true.

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

Syntax

C#

protected virtual IEnumerable<ValidationOutcome> ProcessValidations(
	T objectToValidate
)

VB

Protected Overridable Function ProcessValidations ( 
	objectToValidate As T
) As IEnumerable(Of ValidationOutcome)

C++

protected:
virtual IEnumerable<ValidationOutcome^>^ ProcessValidations(
	T objectToValidate
)

F#

abstract ProcessValidations : 
        objectToValidate : 'T -> IEnumerable<ValidationOutcome> 
override ProcessValidations : 
        objectToValidate : 'T -> IEnumerable<ValidationOutcome> 

Parameters

 

objectToValidate
Type: T
The object to validate.

Return Value

Type: IEnumerable(ValidationOutcome)
A IEnumerable(T) of ValidationOutcome.

See Also

Reference

RuleBasedValidator(T) Class
Ifp.Validation Namespace

Clone this wiki locally