[]
Runs validation
public IEnumerable<Tuple<bool, string>> Validate(T obj)
Type | Name | Description |
---|---|---|
T | obj | Object to validate |
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 |