Table of Contents

Class AuditableRequest<TRequestDto, TResponse>

Namespace
Whipstaff.AspNetCore
Assembly
Whipstaff.AspNetCore.dll
public class AuditableRequest<TRequestDto, TResponse> : IAuditableRequest<TRequestDto, TResponse>, ICommand<TResponse>, IRequest<TResponse>, IBaseRequest

Type Parameters

TRequestDto
TResponse
Inheritance
AuditableRequest<TRequestDto, TResponse>
Implements
IAuditableRequest<TRequestDto, TResponse>
ICommand<TResponse>
IRequest<TResponse>
IBaseRequest
Derived
Inherited Members

Constructors

AuditableRequest(TRequestDto, ClaimsPrincipal)

Initializes a new instance of the AuditableRequest<TRequestDto, TResponse> class.

public AuditableRequest(TRequestDto requestDto, ClaimsPrincipal claimsPrincipal)

Parameters

requestDto TRequestDto

The request dto for the call.

claimsPrincipal ClaimsPrincipal

The claims principal attached to the request.

Properties

ClaimsPrincipal

Gets the claims principal attached to the request.

public ClaimsPrincipal ClaimsPrincipal { get; }

Property Value

ClaimsPrincipal

RequestDto

Gets the request DTO for.

public TRequestDto RequestDto { get; }

Property Value

TRequestDto