Skip to content

M_Ifp_Validation_IValidator_1_Validate

Martin Strecker edited this page Mar 9, 2019 · 1 revision

IValidator(T).Validate Method

Validate an object and return the ValidationOutcome objects wrapped in a ValidationOutcome.

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

Syntax

C#

ValidationSummary Validate(
	T objectToValidate
)

VB

Function Validate ( 
	objectToValidate As T
) As ValidationSummary

C++

ValidationSummary^ Validate(
	T objectToValidate
)

F#

abstract Validate : 
        objectToValidate : 'T -> ValidationSummary 

Parameters

 

objectToValidate
Type: T
The object to validate.

Return Value

Type: ValidationSummary
The ValidationSummary that wraps a several ValidationOutcome. The ValidationSummary can be used as a model that can be presented to the user.

See Also

Reference

IValidator(T) Interface
Ifp.Validation Namespace

Clone this wiki locally