Exemple #1
0
 private void TeamExplorerOnPropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (TeamExplorer != null && e.PropertyName == CoreExtensions.GetMemberName(() => TeamExplorer.CurrentPage))
     {
         IsInUserInfoPage = TeamExplorer.CurrentPage != null && TeamExplorer.CurrentPage.GetType() == typeof(UserInfoPage);
     }
 }
Exemple #2
0
 private async void TeamExplorerOnPropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (TeamExplorer != null && e.PropertyName == CoreExtensions.GetMemberName(() => TeamExplorer.CurrentPage))
     {
         TeamExplorer.PropertyChanged -= TeamExplorerOnPropertyChanged;
         eventRegistered = false;
         await RefreshAsync();
     }
 }