Метод | Описание | |
---|---|---|
Execute ( string symbol ) : |
Retrieves the stock quote from the Internet.
|
|
StockEngine ( string symbol ) : System |
Create an instance of StockEngine.
|
|
StockEngine ( string symbol, bool autoUpdate ) : System |
Create an instance of StockEngine.
|
|
StockEngine ( string symbol, bool autoUpdate, int updateInterval ) : System |
Create an instance of StockEngine.
|
Метод | Описание | |
---|---|---|
OnError ( ) : void | ||
OnUpdated ( ) : void |
Метод | Описание | |
---|---|---|
BeginGetQuote ( ) : void |
Starts the asynchonous data retrieval.
|
|
CreateRequest ( ) : |
Creates a web request to Yahoo finacial service.
|
|
EndGetQuote ( IAsyncResult stateInfo ) : void |
Ends the asynchonous data retrieval.
|
|
Init ( string symbol, bool autoUpdate, int updateInterval ) : void |
Initializes the object with data from the constructors.
|
|
InitializeTimer ( ) : void |
Prepares the timer for automatic updates.
|
|
ParseQuote ( string html ) : void |
Parses the retrieved HTML document in order to substract the right stock quote.
|
|
ProcessResponse ( |
Retrieves the response from the web request.
|
public static Execute ( string symbol ) : |
||
symbol | string | Specify the symbol of the stock to retrieve. |
Результат |
public StockEngine ( string symbol ) : System | ||
symbol | string | The symbol of the quote to retrieve. |
Результат | System |
public StockEngine ( string symbol, bool autoUpdate ) : System | ||
symbol | string | The symbol of the quote to retrieve. |
autoUpdate | bool | Specify whether or not to automatically update the quote. |
Результат | System |
public StockEngine ( string symbol, bool autoUpdate, int updateInterval ) : System | ||
symbol | string | The symbol of the quote to retrieve. |
autoUpdate | bool | Specify whether or not to automatically update the quote. |
updateInterval | int | Specify at what interval to update. In milliseconds. |
Результат | System |