public RestApiController( IUserBookServices userBookServices, IUserServices userServices, IJsonServices jsonServices, IXmlServices xmlServices, ICsvServices csvServices, IQrCodeServices qrCodeServices, IBookServices bookServices) { this.userBookServices = userBookServices; this.userServices = userServices; this.jsonServices = jsonServices; this.xmlServices = xmlServices; this.csvServices = csvServices; this.qrCodeServices = qrCodeServices; this.bookServices = bookServices; }
public ConfigManager(string path, IXmlServices xmlServices, ILoggerService logger) { _logger = logger; _xmlServices = xmlServices; _configFilePath = path + "\\" + ConfigFileName; _resultsDirectory = path + "\\Results"; _componentsDirectory = Environment.CurrentDirectory + "\\Components"; CurrentConfig = new Configuration { DataFilePath = _configFilePath, FailedConnectListFile = _failedConnectListFile, SuccessfulConnectionListFile = _successfulConnectionListFile }; if (CheckForConfigFile()) { LoadConfig(); return; } CreateNewConfigFile(); }
public ValuesController(IXmlServices xmlService) { _xmlService = xmlService; }