Exemple #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");
 }
Exemple #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");
 }
Exemple #3
0
 public LibraryClient(global::StrawberryShake.IOperationExecutorPool executorPool)
 {
     _executor = executorPool.CreateExecutor(_clientName);
 }
Exemple #4
0
 public GetHeroQuery(global::StrawberryShake.IOperationExecutor <IGetHero> operationExecutor)
 {
     _operationExecutor = operationExecutor
                          ?? throw new global::System.ArgumentNullException(nameof(operationExecutor));
 }
 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));
 }