public GetCustomValueBuilder(global::StrawberryShake.IEntityStore entityStore, global::StrawberryShake.IEntityIdSerializer idSerializer, global::StrawberryShake.IOperationResultDataFactory <global::StrawberryShake.CodeGeneration.CSharp.Analyzers.Tests.IGetCustomValueResult> resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver)
 {
     _entityStore        = entityStore ?? throw new global::System.ArgumentNullException(nameof(entityStore));
     _idSerializer       = idSerializer ?? throw new global::System.ArgumentNullException(nameof(idSerializer));
     _resultDataFactory  = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory));
     _customScalarParser = serializerResolver.GetLeafValueParser <global::System.String, global::StrawberryShake.CodeGeneration.CSharp.Analyzers.Tests.Custom>("CustomScalar") ?? throw new global::System.ArgumentException("No serializer for type `CustomScalar` found.");
 }
 public GetHeroBuilder(global::StrawberryShake.IEntityStore entityStore, global::StrawberryShake.IEntityIdSerializer idSerializer, global::StrawberryShake.IOperationResultDataFactory <global::StrawberryShake.CodeGeneration.CSharp.Integration.StarWarsTypeNameOnInterfaces.IGetHeroResult> resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver)
 {
     _entityStore       = entityStore ?? throw new global::System.ArgumentNullException(nameof(entityStore));
     _idSerializer      = idSerializer ?? throw new global::System.ArgumentNullException(nameof(idSerializer));
     _resultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory));
     _stringParser      = serializerResolver.GetLeafValueParser <global::System.String, global::System.String>("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found.");
 }
 public GetJsonBuilder(global::StrawberryShake.IEntityStore entityStore, global::StrawberryShake.IEntityIdSerializer idSerializer, global::StrawberryShake.IOperationResultDataFactory <global::StrawberryShake.CodeGeneration.CSharp.Integration.AnyScalarDefaultSerialization.IGetJsonResult> resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver)
 {
     _entityStore       = entityStore ?? throw new global::System.ArgumentNullException(nameof(entityStore));
     _idSerializer      = idSerializer ?? throw new global::System.ArgumentNullException(nameof(idSerializer));
     _resultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory));
     _anyParser         = serializerResolver.GetLeafValueParser <global::System.Text.Json.JsonElement, global::System.Text.Json.JsonDocument>("Any") ?? throw new global::System.ArgumentException("No serializer for type `Any` found.");
 }
Example #4
0
 public FindClansBuilder(global::StrawberryShake.IEntityStore entityStore, global::StrawberryShake.IEntityIdSerializer idSerializer, global::StrawberryShake.IOperationResultDataFactory <global::WotBlitzStatisticsPro.Blazor.GraphQl.IFindClansResult> resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver)
 {
     _entityStore           = entityStore ?? throw new global::System.ArgumentNullException(nameof(entityStore));
     _idSerializer          = idSerializer ?? throw new global::System.ArgumentNullException(nameof(idSerializer));
     _resultDataFactory     = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory));
     _realmTypeParser       = serializerResolver.GetLeafValueParser <global::System.String, global::WotBlitzStatisticsPro.Blazor.GraphQl.RealmType>("RealmType") ?? throw new global::System.ArgumentException("No serializer for type `RealmType` found.");
     _requestLanguageParser = serializerResolver.GetLeafValueParser <global::System.String, global::WotBlitzStatisticsPro.Blazor.GraphQl.RequestLanguage>("RequestLanguage") ?? throw new global::System.ArgumentException("No serializer for type `RequestLanguage` found.");
     _stringParser          = serializerResolver.GetLeafValueParser <global::System.String, global::System.String>("String") ?? throw new global::System.ArgumentException("No serializer for type `String` found.");
     _longParser            = serializerResolver.GetLeafValueParser <global::System.Int64, global::System.Int64>("Long") ?? throw new global::System.ArgumentException("No serializer for type `Long` found.");
     _intParser             = serializerResolver.GetLeafValueParser <global::System.Int32, global::System.Int32>("Int") ?? throw new global::System.ArgumentException("No serializer for type `Int` found.");
 }
Example #5
0
 public WotBlitzStatisticsProClientStoreAccessor(global::StrawberryShake.IOperationStore operationStore, global::StrawberryShake.IEntityStore entityStore, global::StrawberryShake.IEntityIdSerializer entityIdSerializer, global::System.Collections.Generic.IEnumerable <global::StrawberryShake.IOperationRequestFactory> requestFactories, global::System.Collections.Generic.IEnumerable <global::StrawberryShake.IOperationResultDataFactory> resultDataFactories) : base(operationStore, entityStore, entityIdSerializer, requestFactories, resultDataFactories)
 {
 }