C# Class TTT.Teletype.TweetPrinter

TweetPrinter links a Tweet to a Teletype, dealing with turning the Teletype on / off and formatting the tweet for printing. Just in case someone doesn't hear the Teletype start up, we also ring the bell!
Datei anzeigen Open project: swindonmakers/TwitterToTeletype Class Usage Examples

Public Methods

Method Description
PrintTweet ( Tweet t ) : void
TweetPrinter ( ITeletype teletype ) : System

Private Methods

Method Description
FormatMessage ( string message ) : string
PrintTweetText ( string message ) : void

Method Details

PrintTweet() public method

public PrintTweet ( Tweet t ) : void
t TTT.Twitter.Tweet
return void

TweetPrinter() public method

public TweetPrinter ( ITeletype teletype ) : System
teletype ITeletype
return System