Skip to content

M_Ifp_Validation_CollectionValidator_1__ctor_1

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

CollectionValidator(T) Constructor (Validator(T))

A Validator(T) that is applicable to an instance of T. This validator is applied to all objects in the IEnumerable(T) in the ValidateCollection(IEnumerable(T)) method.

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

Syntax

C#

public CollectionValidator(
	Validator<T> validator
)

VB

Public Sub New ( 
	validator As Validator(Of T)
)

C++

public:
CollectionValidator(
	Validator<T>^ validator
)

F#

new : 
        validator : Validator<'T> -> CollectionValidator

Parameters

 

validator
Type: Ifp.Validation.Validator(T)

See Also

Reference

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

Clone this wiki locally