protected override async void OnViewReady(object view) { await azureContextService.Start(); // check what menu item is selected in the pagemenu SetPage(PageMenuView.Value.SelectedMenu.Value.Kind); base.OnViewReady(view); }
protected override async void OnInitialize() { await azureContextService.Start(); var model = IoC.Get <AccountManagerViewModel>(); model.Visible.Value = !azureContextService.HasContexts; AccountManagerView.Value = model; ActivateItem(model); base.OnInitialize(); }
protected override async void OnInitialize() { await azureContextService.Start(); //await _client.Initialize(); //var subs = await _client.Subscriptions(); //foreach (var sub in subs) //{ // Subscriptions.Add(sub); //} //SelectedSubscription.Value = subs.First(); //SubscriptionsSelectorEnabled.Value = subs.Count() > 1; base.OnInitialize(); }