Esempio n. 1
0
 public FindPlayersQuery(global::StrawberryShake.IOperationExecutor <IFindPlayersResult> operationExecutor, global::StrawberryShake.Serialization.ISerializerResolver serializerResolver)
 {
     _operationExecutor        = operationExecutor ?? throw new global::System.ArgumentNullException(nameof(operationExecutor));
     _stringFormatter          = serializerResolver.GetInputValueFormatter("String");
     _realmTypeFormatter       = serializerResolver.GetInputValueFormatter("RealmType");
     _requestLanguageFormatter = serializerResolver.GetInputValueFormatter("RequestLanguage");
 }
Esempio n. 2
0
 public SendMessageMutation(
     global::StrawberryShake.IOperationExecutor <ISendMessageResult> operationExecutor,
     global::StrawberryShake.Serialization.ISerializerResolver serializerResolver)
 {
     _operationExecutor = operationExecutor
                          ?? throw new global::System.ArgumentNullException(nameof(operationExecutor));
     _stringFormatter = serializerResolver.GetInputValueFormatter("String");
 }
Esempio n. 3
0
 public LibraryClient(global::StrawberryShake.IOperationExecutorPool executorPool)
 {
     _executor = executorPool.CreateExecutor(_clientName);
 }
Esempio n. 4
0
 public GetHeroQuery(global::StrawberryShake.IOperationExecutor <IGetHero> operationExecutor)
 {
     _operationExecutor = operationExecutor
                          ?? throw new global::System.ArgumentNullException(nameof(operationExecutor));
 }
Esempio n. 5
0
 public ChatClient(global::StrawberryShake.IOperationExecutorPool executorPool)
 {
     _executor       = executorPool.CreateExecutor(_clientName);
     _streamExecutor = executorPool.CreateStreamExecutor(_clientName);
 }
 public ReadMessagesSubscription(global::StrawberryShake.IOperationExecutor <IReadMessagesResult> operationExecutor)
 {
     _operationExecutor = operationExecutor
                          ?? throw new global::System.ArgumentNullException(nameof(operationExecutor));
 }