public TwitterClient() { new Timer(delegate { var mention = new Tweet { Id = 42, CreatedAt = DateTime.Now, Text = "This is a fake mention" }; if (MentionReceived != null) { MentionReceived(this, new MentionEventArgs(mention)); } }, null, 15 * 1000, Timeout.Infinite); }
public MentionEventArgs(Tweet tweet) { Tweet = tweet; }