Skip to content

M_Ifp_Validation_RuleBasedValidator_1__ctor

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

RuleBasedValidator(T) Constructor (IValidationRule(T)[])

Constructs a validator that applies the given validation rules to an object in the given order.

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

Syntax

C#

public RuleBasedValidator(
	params IValidationRule<T>[] rules
)

VB

Public Sub New ( 
	ParamArray rules As IValidationRule(Of T)()
)

C++

public:
RuleBasedValidator(
	... array<IValidationRule<T>^>^ rules
)

F#

new : 
        rules : IValidationRule<'T>[] -> RuleBasedValidator

Parameters

 

rules
Type: Ifp.Validation.IValidationRule(T)[]
The IValidationRule(T)s to apply to an object.

See Also

Reference

RuleBasedValidator(T) Class
RuleBasedValidator(T) Overload
Ifp.Validation Namespace

Clone this wiki locally