コード例 #1
0
 /// <summary>
 /// Fired when the user is updated, we should update the subreddit list.
 /// </summary>
 private void UserMan_OnUserUpdated(object sender, OnUserUpdatedArgs args)
 {
     // Take action on everything but user updated
     if (args.Action != UserCallbackAction.Updated)
     {
         Update(true);
     }
 }
コード例 #2
0
ファイル: MainPage.xaml.cs プロジェクト: EricYan1/Baconit
 /// <summary>
 /// Fired when the user is updated
 /// </summary>
 private async void UserMan_OnUserUpdated(object sender, OnUserUpdatedArgs args)
 {
     await Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
     {
         UpdateAccount();
     });
 }
コード例 #3
0
ファイル: SubredditManager.cs プロジェクト: maly7/Baconit
 /// <summary>
 /// Fired when the user is updated, we should update the subreddit list.
 /// </summary>
 private void UserMan_OnUserUpdated(object sender, OnUserUpdatedArgs args)
 {
     // Take action on everything but user updated
     if (args.Action != UserCallbackAction.Updated)
     {
         Update(true);
     }
 }