mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-21 18:37:18 +02:00
31 lines
1.0 KiB
C#
31 lines
1.0 KiB
C#
// <auto-generated/>
|
|
#nullable enable
|
|
|
|
namespace WotBlitzStatisticsPro.Blazor.GraphQl.State
|
|
{
|
|
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.2.2.0")]
|
|
public partial class WotBlitzStatisticsProClientEntityIdFactory : global::StrawberryShake.IEntityIdSerializer
|
|
{
|
|
private static readonly global::System.Text.Json.JsonWriterOptions _options = new global::System.Text.Json.JsonWriterOptions()
|
|
{Indented = false};
|
|
public global::StrawberryShake.EntityId Parse(global::System.Text.Json.JsonElement obj)
|
|
{
|
|
global::System.String __typename = obj.GetProperty("__typename").GetString()!;
|
|
return __typename switch
|
|
{
|
|
_ => throw new global::System.NotSupportedException()}
|
|
|
|
;
|
|
}
|
|
|
|
public global::System.String Format(global::StrawberryShake.EntityId entityId)
|
|
{
|
|
return entityId.Name switch
|
|
{
|
|
_ => throw new global::System.NotSupportedException()}
|
|
|
|
;
|
|
}
|
|
}
|
|
}
|