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
-
PrincipalCommandBase<TResponse>PrincipalQueryBase<TResponse>
- Implements
-
IRequest<TResponse>IEquatable<PrincipalCommandBase<TResponse>>IEquatable<PrincipalQueryBase<TResponse>>
- Derived
- Inherited Members
Constructors
PrincipalQueryBase(ClaimsPrincipal?)
Initializes a new instance of the PrincipalQueryBase<TResponse> class.
protected PrincipalQueryBase(ClaimsPrincipal? principal)
Parameters
principal
ClaimsPrincipalThe ClaimsPrincipal this query is run for