Table of Contents

Interface IAuditableRequest<TRequestDto, TCommandResponse>

Namespace
Whipstaff.MediatR
Assembly
Whipstaff.MediatR.dll

Represents a request that requires auditing.

public interface IAuditableRequest<out TRequestDto, out TCommandResponse> : ICommand<TCommandResponse>, IRequest<TCommandResponse>, IBaseRequest

Type Parameters

TRequestDto

The type of the request object.

TCommandResponse

The type of the response object.

Properties

ClaimsPrincipal

Gets the claims principal attached to the request.

ClaimsPrincipal ClaimsPrincipal { get; }

Property Value

ClaimsPrincipal

RequestDto

Gets the request DTO for.

TRequestDto RequestDto { get; }

Property Value

TRequestDto