C# Class Wrox.ProCSharp.WinServices.QuoteServer

Mostra file Open project: ProfessionalCSharp/ProfessionalCSharp6 Class Usage Examples

Public Methods

Method Description
QuoteServer ( ) : System
QuoteServer ( string filename ) : System
QuoteServer ( string filename, int port ) : System
RefreshQuotes ( ) : void
Resume ( ) : void
Start ( ) : void
Stop ( ) : void
Suspend ( ) : void

Protected Methods

Method Description
GetRandomQuoteOfTheDay ( ) : string
ListenerAsync ( ) : System.Threading.Tasks.Task
ReadQuotes ( ) : void

Method Details

GetRandomQuoteOfTheDay() protected method

protected GetRandomQuoteOfTheDay ( ) : string
return string

ListenerAsync() protected method

protected ListenerAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

QuoteServer() public method

public QuoteServer ( ) : System
return System

QuoteServer() public method

public QuoteServer ( string filename ) : System
filename string
return System

QuoteServer() public method

public QuoteServer ( string filename, int port ) : System
filename string
port int
return System

ReadQuotes() protected method

protected ReadQuotes ( ) : void
return void

RefreshQuotes() public method

public RefreshQuotes ( ) : void
return void

Resume() public method

public Resume ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Suspend() public method

public Suspend ( ) : void
return void