Beispiel #1
0
 public Application(IOptions <ApplicationConfig> applicationConfig,
                    IOptions <GoogleServiceConfig> googleConfig,
                    IPgInfoService pgInfo,
                    IGoogleSheetsService googleSheets)
 {
     _applicationConfig   = applicationConfig.Value;
     _googleServiceConfig = googleConfig.Value;
     _pgInfo       = pgInfo;
     _googleSheets = googleSheets;
 }
Beispiel #2
0
 public Application(IOptions <ApplicationConfig> applicationConfig,
                    IOptions <GoogleServiceConfig> googleConfig,
                    IDatabaseInfoService dbInfo,
                    IGoogleSheetsService googleSheets)
 {
     _applicationConfig   = applicationConfig.Value;
     _googleServiceConfig = googleConfig.Value;
     _dbInfo       = dbInfo;
     _googleSheets = googleSheets;
 }
Beispiel #3
0
 public GoogleSheetsService(IOptions <GoogleServiceConfig> googleConfig)
 {
     _googleConfig = googleConfig.Value;
 }
Beispiel #4
0
 public GoogleSheetsService(GoogleServiceConfig googleConfig)
 {
     _googleConfig = googleConfig;
 }