public GoogleService(TrelloStatsConfiguration configuration, SpreadsheetEntryFactory spreadsheetEntryFactory, GoogleClient googleClient) { _configuration = configuration; _googleClient = googleClient; _spreadsheetEntryFactory = spreadsheetEntryFactory; }
public TrelloToGoogleService() { _configuration = new TrelloStatsConfiguration(); var htmlFactory = new HtmlFactory(_configuration); var spreadsheetEntryFactory = new SpreadsheetEntryFactory(_configuration, htmlFactory); var trelloClient = new TrelloClient(_configuration); _googleClient = new GoogleClient(_configuration); _googleService = new GoogleService(_configuration, spreadsheetEntryFactory, _googleClient); _trelloService = new TrelloService(_configuration, trelloClient); _highChartsJsonService = new HighChartsJsonService(_configuration, htmlFactory); _timesheetService = new TimesheetService(_configuration, _googleClient); _boardStatsService = new BoardStatsService(_configuration); }