private global::System.Object? FormatRealmType(global::WotBlitzStatisticsPro.Blazor.GraphQl.RealmType value) { return(_realmTypeFormatter.Format(value)); }
public global::System.IObservable <global::StrawberryShake.IOperationResult <IFindPlayersResult> > Watch(global::System.String accountNick, global::WotBlitzStatisticsPro.Blazor.GraphQl.RealmType realmType, global::WotBlitzStatisticsPro.Blazor.GraphQl.RequestLanguage language, global::StrawberryShake.ExecutionStrategy?strategy = null) { var request = CreateRequest(accountNick, realmType, language); return(_operationExecutor.Watch(request, strategy)); }
private global::StrawberryShake.OperationRequest CreateRequest(global::System.String accountNick, global::WotBlitzStatisticsPro.Blazor.GraphQl.RealmType realmType, global::WotBlitzStatisticsPro.Blazor.GraphQl.RequestLanguage language) { var variables = new global::System.Collections.Generic.Dictionary <global::System.String, global::System.Object?>(); variables.Add("accountNick", FormatAccountNick(accountNick)); variables.Add("realmType", FormatRealmType(realmType)); variables.Add("language", FormatLanguage(language)); return(CreateRequest(variables)); }
public async global::System.Threading.Tasks.Task <global::StrawberryShake.IOperationResult <IFindPlayersResult> > ExecuteAsync(global::System.String accountNick, global::WotBlitzStatisticsPro.Blazor.GraphQl.RealmType realmType, global::WotBlitzStatisticsPro.Blazor.GraphQl.RequestLanguage language, global::System.Threading.CancellationToken cancellationToken = default) { var request = CreateRequest(accountNick, realmType, language); return(await _operationExecutor.ExecuteAsync(request, cancellationToken).ConfigureAwait(false)); }