コード例 #1
0
 public Application(IOptions <ApplicationConfig> applicationConfig,
                    IOptions <GoogleServiceConfig> googleConfig,
                    IPgInfoService pgInfo,
                    IGoogleSheetsService googleSheets)
 {
     _applicationConfig   = applicationConfig.Value;
     _googleServiceConfig = googleConfig.Value;
     _pgInfo       = pgInfo;
     _googleSheets = googleSheets;
 }
コード例 #2
0
ファイル: Application.cs プロジェクト: movinie/DataBaseSize
 public Application(IOptions <ApplicationConfig> applicationConfig,
                    IOptions <GoogleServiceConfig> googleConfig,
                    IDatabaseInfoService dbInfo,
                    IGoogleSheetsService googleSheets)
 {
     _applicationConfig   = applicationConfig.Value;
     _googleServiceConfig = googleConfig.Value;
     _dbInfo       = dbInfo;
     _googleSheets = googleSheets;
 }
コード例 #3
0
 public GoogleSheetsService(IOptions <GoogleServiceConfig> googleConfig)
 {
     _googleConfig = googleConfig.Value;
 }
コード例 #4
0
 public GoogleSheetsService(GoogleServiceConfig googleConfig)
 {
     _googleConfig = googleConfig;
 }