mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-22 19:00:07 +02:00
30 lines
1.0 KiB
C#
30 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()}
|
||
|
|
|
||
|
|
;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|