private async void Init() { await Info("launching...", true); await HttpClientX.Init(); bt_search.IsEnabled = true; await Info("ready", true); }
protected override void OnClosing(System.ComponentModel.CancelEventArgs e) { try { HttpClientX.Close(); } catch { } base.OnClosing(e); }
public AuthStateProvider(HttpClientX httpClient, ILocalStorageService storage) : base() { this.httpClient = httpClient; this.storage = storage; }