Exemplo n.º 1
0
 private async void _niconicoSession_LogIn(object sender, NiconicoSessionLoginEventArgs e)
 {
     try
     {
         await _LoginUserVideoWatchHistoryProvider.GetHistoryAsync();
     }
     catch (Exception ex)
     {
         _logger.ZLogError(ex, "ログインユーザーの視聴履歴をアプリの視聴済みに同期する処理に失敗");
     }
 }
        private void OnLogIn(object sender, NiconicoSessionLoginEventArgs e)
        {
            ResetMenuItems();

            System.Diagnostics.Debug.WriteLine("サインイン:メニューをリセットしました");
        }
Exemplo n.º 3
0
 private void NiconicoSession_LogIn(object sender, NiconicoSessionLoginEventArgs e)
 {
     _twoFactorAuthLoginCts?.SetResult(0);
 }