public DataManager(IConfigDatabase config) { databaseManager = new DatabaseManager(config.GetConnectionString(), config.GetDatabaseName()); stringGenerator = new XMLGenerator(); targetPath = config.GetTargetForDataManager(); }
public DatabaseProvider(ImportantOptions config) { databaseManager = new WorkWithDatabase(config.ConnectionOptions.ConnectionStrings, config.ConnectionOptions.TypeOfDatabase); targetPath = config.ConnectionOptions.DataDirectory; stringGenerator = new XMLGenerator(); }
public XMLFileStorage(string path, IXMLGenerator <ICollection <Uri>, XElement> XMLGenerator) { this.path = path; this.XMLGenerator = XMLGenerator; }
public CurvesController(IDataPublisher objPublisher, ICSVParser objCSVParser, IXMLGenerator objXMLGenerator) { dataPublisher = objPublisher; csvParser = objCSVParser; xmlGenerator = objXMLGenerator; }