async Task ExecuteLoadSocialCommandAsync() { if (this.LoadingSocial) { return; } this.LoadingSocial = true; try { this.SocialError = false; this.Tweets.Clear(); this.Tweets.ReplaceRange(await TweetHelper.Get()); } catch (Exception ex) { this.SocialError = true; ex.Data["method"] = "ExecuteLoadSocialCommandAsync"; this.Logger.Report(ex); } finally { this.LoadingSocial = false; } }
public StreamEventHandler(TweetHelper tweetHelper) { _tweetHelper = tweetHelper; }