Exemple #1
0
        private async void Init()
        {
            await Info("launching...", true);

            await HttpClientX.Init();

            bt_search.IsEnabled = true;
            await Info("ready", true);
        }
Exemple #2
0
 protected override void OnClosing(System.ComponentModel.CancelEventArgs e)
 {
     try
     {
         HttpClientX.Close();
     }
     catch
     {
     }
     base.OnClosing(e);
 }
Exemple #3
0
 public AuthStateProvider(HttpClientX httpClient, ILocalStorageService storage) : base()
 {
     this.httpClient = httpClient;
     this.storage    = storage;
 }