public method O2GResponseReaderFactory.createClosedTradesTableReader

Brief

Creates the reader for the Closed Trades table response.

Declaration
C#
O2GClosedTradesTableResponseReader  createClosedTradesTableReader (O2GResponse response)

Parameters
response

The response must have the type GetClosedTrades or TablesUpdates.

The reader keeps the reference to the response object, so if you don't need the response for any other purpose you can dispose it when the reader is created.

Details

The method returns an instance of the reader or null in case the response has wrong type or is broken.

The returned object must be disposed using the Dispose() method when it is not required anymore.

back