Method ValidateFluent<T>(IRouteDefinition, IValidator<T>, ValidationSeverity, bool)

Assembly: redb.Route.Validation.Adapters.dll

Attaches a FluentValidation validator as an inline pipeline step.

public static IRouteDefinition ValidateFluent<T>(this IRouteDefinition route, IValidator<T> validator, ValidationSeverity severity = ValidationSeverity.Error, bool throwOnFailure = true)