Skip to content

M_Ifp_Validation_CollectionValidator_1_ValidateCollection

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

CollectionValidator(T).ValidateCollection Method

Validates a IEnumerable(T) of T objects.

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

Syntax

C#

public ValidationSummary ValidateCollection(
	IEnumerable<T> collectionToValidate
)

VB

Public Function ValidateCollection ( 
	collectionToValidate As IEnumerable(Of T)
) As ValidationSummary

C++

public:
ValidationSummary^ ValidateCollection(
	IEnumerable<T>^ collectionToValidate
)

F#

member ValidateCollection : 
        collectionToValidate : IEnumerable<'T> -> ValidationSummary 

Parameters

 

collectionToValidate
Type: System.Collections.Generic.IEnumerable(T)
The IEnumerable(T) of T objects.

Return Value

Type: ValidationSummary
A ValidationSummary representing the summary of the results of the application of all Validation rules to all objects in collectionToValidate.

See Also

Reference

CollectionValidator(T) Class
Ifp.Validation Namespace

Clone this wiki locally