[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Tools.ValidatorBase-1.Validate

Validate Method

Validate(T)

Runs validation

Declaration
public IEnumerable<Tuple<bool, string>> Validate(T obj)
Parameters
Type Name Description
T obj

Object to validate

Returns
Type Description
IEnumerable<Tuple<bool, string>>

Validation result as Tuple<bool, string> where Item1 - is a boolean that says whether the validation succeeded, Item2 - a collection of error messages about any validation failures