Table of Contents

Namespace BytLabs.Application.CQS.Commands

Classes

CommandValidationException
CommandValidatorExtensions

Interfaces

ICommand

Represents a command that does not return a value. Implements both IRequest from MediatR and ICommandBase for command handling.

ICommandBase

Base interface for all commands in the system. Serves as a marker interface for command identification.

ICommandHandler<TCommand>

Represents a handler for commands that do not return a response. Implements IRequestHandler from MediatR for command processing.

ICommandHandler<TCommand, TResponse>

Represents a handler for commands that return a response. Implements IRequestHandler from MediatR for command processing.

ICommand<TResult>

Represents a command that returns a value of type TResult. Implements both IRequest{TResult} from MediatR and ICommandBase for command handling.