tgstation-server 6.19.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
RightsHolder{TRight}.cs
Go to the documentation of this file.
1using System;
2
4{
9 public sealed class RightsHolder<TRight>
10 where TRight : struct, Enum
11 {
15 public bool HasContextFlag
16 {
17 get => throw new InvalidOperationException($"{nameof(HasContextFlag)} getter should not be called!");
18 set => throw new InvalidOperationException($"{nameof(HasContextFlag)} setter should not be called!");
19 }
20
24 public required TRight Right { get; init; }
25 }
26}
bool HasContextFlag
Marker property to allow Right to be properly selected by the GraphQL system. Should not be used for ...
required TRight Right
The held TRight value.