Exemple #1
0
 public Application(IOptions <ApplicationConfig> applicationConfig,
                    IOptions <GoogleServiceConfig> googleConfig,
                    IDatabaseInfoService dbInfo,
                    IGoogleSheetsService googleSheets)
 {
     _applicationConfig   = applicationConfig.Value;
     _googleServiceConfig = googleConfig.Value;
     _dbInfo       = dbInfo;
     _googleSheets = googleSheets;
 }
 public CommandLineSynchroniserViewModel()
 {
     _databaeInfoService = new DatabaseInfoService(new DatabaseInfoRepository(Directory.GetCurrentDirectory() + "\\configs\\DbInfos.xml"));
 }