Пример #1
0
        private async void Init()
        {
            await Info("launching...", true);

            await HttpClientX.Init();

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