Skip to content

M_Ifp_Validation_RuleBasedValidator_1__ctor_1

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

RuleBasedValidator(T) Constructor (IEnumerable(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(
	IEnumerable<IValidationRule<T>> rules
)

VB

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

C++

public:
RuleBasedValidator(
	IEnumerable<IValidationRule<T>^>^ rules
)

F#

new : 
        rules : IEnumerable<IValidationRule<'T>> -> RuleBasedValidator

Parameters

 

rules
Type: System.Collections.Generic.IEnumerable(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