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."); }
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."); }
public GetHeroBuilder( global::StrawberryShake.IEntityStore entityStore, global::System.Func <global::System.Text.Json.JsonElement, global::StrawberryShake.EntityId> extractId, global::StrawberryShake.IOperationResultDataFactory <IGetHero> resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) { _entityStore = entityStore ?? throw new global::System.ArgumentNullException(nameof(entityStore)); _extractId = extractId ?? throw new global::System.ArgumentNullException(nameof(extractId)); _resultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); _episodeParser = serializerResolver.GetLeafValueParser <global::System.String, Episode>("Episode") ?? throw new global::System.ArgumentNullException(nameof(_episodeParser)); _stringParser = serializerResolver.GetLeafValueParser <global::System.String, global::System.String>("String") ?? throw new global::System.ArgumentNullException(nameof(_stringParser)); }
public GetPeopleBuilder( global::StrawberryShake.IEntityStore entityStore, global::System.Func <global::System.Text.Json.JsonElement, global::StrawberryShake.EntityId> extractId, global::StrawberryShake.IOperationResultDataFactory <IGetPeopleResult> resultDataFactory, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver) { _entityStore = entityStore ?? throw new global::System.ArgumentNullException(nameof(entityStore)); _extractId = extractId ?? throw new global::System.ArgumentNullException(nameof(extractId)); _resultDataFactory = resultDataFactory ?? throw new global::System.ArgumentNullException(nameof(resultDataFactory)); _stringParser = serializerResolver.GetLeafValueParser <global::System.String, global::System.String>("String") ?? throw new global::System.ArgumentNullException(nameof(_stringParser)); _booleanParser = serializerResolver.GetLeafValueParser <global::System.Boolean, global::System.Boolean>("Boolean") ?? throw new global::System.ArgumentNullException(nameof(_booleanParser)); _dateTimeOffsetParser = serializerResolver.GetLeafValueParser <global::System.String, global::System.DateTimeOffset>("DateTime") ?? throw new global::System.ArgumentNullException(nameof(_dateTimeOffsetParser)); }