public ProtectedGoogleSheetsApp(
     IProvideSheet sheetProvider,
     IMapSheetToObjects sheetMapper)
 {
     _sheetProvider = sheetProvider;
     _sheetMapper   = sheetMapper;
 }
 public SpreadsheetRepository(string spreadSheetId, string pathCredential, SheetMapperWrapper sheetMapperWrapper)
 {
     _spreadSheetId      = spreadSheetId;
     _pathCredential     = pathCredential;
     _sheetMapperWrapper = sheetMapperWrapper;
     _adapter            = new ProtectedGoogleSheetAdapter();
 }
Example #3
0
 public ExcelApp(
     IProvideSheet sheetProvider,
     IMapSheetToObjects sheetMapper)
 {
     _sheetProvider = sheetProvider;
     _sheetMapper   = sheetMapper;
 }
 public GoogleSheetsApp(
     IOptions <AppSettings> appSettings,
     IProvideSheet sheetProvider,
     IMapSheetToObjects sheetMapper)
 {
     _appSettings   = appSettings.Value;
     _sheetProvider = sheetProvider;
     _sheetMapper   = sheetMapper;
 }