Table of Contents

Class PrincipalQueryBase<TResponse>

Namespace
Arbiter.CommandQuery.Queries
Assembly
Arbiter.CommandQuery.dll

A base query type using the specified ClaimsPrincipal.

public abstract record PrincipalQueryBase<TResponse> : PrincipalCommandBase<TResponse>, IRequest<TResponse>, IRequest, IEquatable<PrincipalCommandBase<TResponse>>, IEquatable<PrincipalQueryBase<TResponse>>

Type Parameters

TResponse

The type of the response.

Inheritance
PrincipalQueryBase<TResponse>
Implements
IRequest<TResponse>
Derived
Inherited Members

Constructors

PrincipalQueryBase(ClaimsPrincipal?)

Initializes a new instance of the PrincipalQueryBase<TResponse> class.

protected PrincipalQueryBase(ClaimsPrincipal? principal)

Parameters

principal ClaimsPrincipal

The ClaimsPrincipal this query is run for