[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Tools.ValidatorBase-1

ValidatorBase<T> Class

Base class for validation classes

Inheritance
ValidatorBase<T>
Namespace: GrapeCity.ActiveReports.Rendering.Tools
Assembly: MESCIUS.ActiveReports.Core.Rendering.dll
Syntax
public class ValidatorBase<T> where T : class
Type Parameters
Name Description
T

Type of object to validate

Constructors

Name Description
ValidatorBase()

Methods

Name Description
RuleFor<TProperty>(Func<T, TProperty>)

Add property to verification

Validate(T)

Runs validation

ValidateAndTrow(T)

Runs validation and throws a ValidationException if fail

Extension Methods