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