Table of Contents

Namespace Excalibur.Dispatch.Middleware.Validation

Classes

BypassSanitizationAttribute

Attribute to mark messages that bypass input sanitization.

InputSanitizationException

Exception thrown when input sanitization fails.

InputSanitizationMiddleware

Middleware responsible for sanitizing input data to prevent injection attacks and clean malformed or dangerous content before processing.

MessageValidationContext

Context information available during message validation.

MessageValidationError

Represents a validation error for a specific property or field.

MessageValidationResult

Result of message validation.

NoSanitizeAttribute

Attribute to mark properties that should not be sanitized.

ValidationMiddleware

Middleware responsible for validating message content and structure using Data Annotations, FluentValidation, or custom validation logic.

Interfaces

IMessageValidationService

Service interface for custom message validation.

ISanitizationService

Service interface for custom input sanitization logic.