tgstation-server
6.19.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Security
RightsEvaluation
RightsConditional{TRights}.cs
Go to the documentation of this file.
1
using
System;
2
3
using
Microsoft.AspNetCore.Authorization;
4
5
namespace
Tgstation.Server.Host.Security.RightsEvaluation
6
{
11
public
abstract
class
RightsConditional
<TRights> :
IAuthorizationRequirement
12
where TRights : Enum
13
{
19
public
abstract
bool
Evaluate
(TRights rights);
20
}
21
}
IAuthorizationRequirement
Tgstation.Server.Host.Security.RightsEvaluation.RightsConditional
An conditional expression of TRights .
Definition
RightsConditional{TRights}.cs:13
Tgstation.Server.Host.Security.RightsEvaluation.RightsConditional.Evaluate
bool Evaluate(TRights rights)
Test if the RightsConditional<TRights> is satified for the given rights .
Tgstation.Server.Host.Security.RightsEvaluation
Definition
AndRightsConditional{TRights}.cs:4
Generated by
1.9.8