Skip to content

M_Ifp_Validation_CollectionValidator_1__ctor

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

CollectionValidator(T) Constructor (IValidationRule(T)[])

Constructor for the CollectionValidator(T) that takes a variable number of IValidationRule(T) objects.

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

Syntax

C#

public CollectionValidator(
	params IValidationRule<T>[] validationRules
)

VB

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

C++

public:
CollectionValidator(
	... array<IValidationRule<T>^>^ validationRules
)

F#

new : 
        validationRules : IValidationRule<'T>[] -> CollectionValidator

Parameters

 

validationRules
Type: Ifp.Validation.IValidationRule(T)[]
A variable number of IValidationRule(T) objects.

See Also

Reference

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

Clone this wiki locally