public method O2GResponseReaderFactory.createOffersTableReader

Brief

Creates the reader for the refresh offers table command/offers refresh in TablesUpdates.

Declaration
C#
O2GOffersTableResponseReader  createOffersTableReader (O2GResponse response)

Parameters
response

The response must have the type GetOffers 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 reader is created.

Details

The method returns an instance of the reader or null in case the response has a wrong type, TablesUpdates does not contain offer updates or is broken.

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

back