public DataManager(IConfigDatabase config) { databaseManager = new DatabaseManager(config.GetConnectionString(), config.GetDatabaseName()); stringGenerator = new XMLGenerator(); targetPath = config.GetTargetForDataManager(); }
private void Initialize() { _configDatabase = new ConfigDatabase(_configurationDataProvider); _configAdwords = new ConfigAdwords(_configurationDataProvider); _configNrel = new ConfigNrel(_configurationDataProvider); _configUpdate = new ConfigUpdate(_configurationDataProvider); _configUi = new ConfigUi(_configurationDataProvider); }