public UserDataReaderFromDataBase(ConfigFileReader configReader) { dbHandler = new DbHandler(configReader.GetAmtHostName(), configReader.GetAmtPort(), configReader.GetAmtdbName(), configReader.GetAmtUserName(), configReader.GetAmtUserPassword()); orderPrices = new List <Tuple <Int64, double, short, short, int, int, string> >(); orderPriceAgainstOrderId = new List <Tuple <long, short, SpreadLogModel> >(); alphaDataTable = new DataTable(); }
public AppCompInitializer() { listOfParticipants = new List <string>(); configReader = new ConfigFileReader(ConfigurationManager.AppSettings["startupConfig"]); }
public void SetConfigReaderAndUserDataReaderFromDataBase(ConfigFileReader configReaderObj) { configReader = (ConfigFileReader)configReaderObj; UserDataReaderDataBase = new UserDataReaderFromDataBase(configReader); }