Table of Contents

Class IValidatorExtensions

Namespace
Innova.Data.Validation
Assembly
Innova.Data.dll

Provides extension methods for FluentValidation.IValidator.

public static class IValidatorExtensions
Inheritance
IValidatorExtensions

Methods

GetCaption<EntityType>(IValidator, Expression<Func<EntityType, object>>)

Gets the caption for the specified property expression.

GetCaption<EntityType>(IValidator, string)

Gets the caption for the specified property name.

GetErrorMessageForRelatedDeletion<T>(IValidator<T>, Expression<Func<T, object>>)
GetErrorMessage<T>(IValidator<T>, string, Expression<Func<T, object>>)

Gets the error message for the specified property expression.