Inheritance: System.EventArgs
        protected void OnNewTweet(Tweet t)
        {
            var handler = NewTweet;

            if (handler != null)
            {
                var e = new NewTweetEventArgs(t);
                handler(this, e);
            }
        }
 static void tweeter_NewTweet(object sender, NewTweetEventArgs e)
 {
     try
     {
         Logger.Instance.Write("Sending tweet to teletype : {0}", e.Tweet.Text);
         printer.PrintTweet(e.Tweet);
     }
     catch (Exception ex)
     {
         Logger.Instance.Write("Failed to send tweet to teletype : {0}", ex.ToString());
     }
 }
 protected void OnNewTweet(Tweet t)
 {
     var handler = NewTweet;
     if (handler != null)
     {
         var e = new NewTweetEventArgs(t);
         handler(this, e);
     }
 }