Class DataAnnotationsValidator
Bridges System.ComponentModel.DataAnnotations to redb.Route's .
Runs
against the exchange body and aggregates errors with their member names.
public sealed class DataAnnotationsValidator : IMessageValidator
Inheritance
Implements
Methods
Validate(IExchange)
Validates the exchange and returns a result indicating success or failure with error details.
public ValidationResult Validate(IExchange exchange)
Constructors
DataAnnotationsValidator(ValidationSeverity, IServiceProvider?)
Creates a DataAnnotations-backed message validator.