tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Models
Transformers
PermissionSetGraphQLTransformer.cs
Go to the documentation of this file.
1
namespace
Tgstation.Server.Host.Models.Transformers
2
{
6
sealed
class
PermissionSetGraphQLTransformer
:
TransformerBase
<PermissionSet, GraphQL.Types.PermissionSet>
7
{
11
public
PermissionSetGraphQLTransformer
()
12
: base(model => new GraphQL.Types.
PermissionSet
13
{
14
AdministrationRights = model.AdministrationRights!.Value,
15
InstanceManagerRights = model.InstanceManagerRights!.Value,
16
})
17
{
18
}
19
}
20
}
Tgstation.Server.Host.Models.PermissionSet
Definition
PermissionSet.cs:9
Tgstation.Server.Host.Models.Transformers.PermissionSetGraphQLTransformer
ITransformer<TInput, TOutput> for GraphQL.Types.PermissionSets.
Definition
PermissionSetGraphQLTransformer.cs:7
Tgstation.Server.Host.Models.Transformers.PermissionSetGraphQLTransformer.PermissionSetGraphQLTransformer
PermissionSetGraphQLTransformer()
Initializes a new instance of the PermissionSetGraphQLTransformer class.
Definition
PermissionSetGraphQLTransformer.cs:11
Tgstation.Server.Host.Models.Transformers.TransformerBase
Definition
TransformerBase{TInput,TOutput}.cs:8
Tgstation.Server.Host.Models.Transformers
Definition
PermissionSetGraphQLTransformer.cs:2
Generated by
1.9.8