[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Tools.ValidatorBase-1.Validator-1.Must

Must Method

Must(Func<TProperty, bool>, string)

Custom validation

Declaration
public ValidatorBase<T>.Validator<TProperty> Must(Func<TProperty, bool> validate, string errorMessage)
Parameters
Type Name Description
Func<TProperty, bool> validate

Custom validation method

string errorMessage

Failure validation message

Returns
Type Description
ValidatorBase<T>.Validator<TProperty>