Example #1
0
        public GoogleService(TrelloStatsConfiguration configuration, SpreadsheetEntryFactory spreadsheetEntryFactory, GoogleClient googleClient)
        {
            _configuration = configuration;
            _googleClient = googleClient;

            _spreadsheetEntryFactory = spreadsheetEntryFactory;
        }
Example #2
0
        public GoogleClient(TrelloStatsConfiguration configuration)
        {
            _configuration = configuration;
            _service = new SpreadsheetsService("trelloStats");
            _service.setUserCredentials(_configuration.GmailEmailAddress, _configuration.GmailPassword);

            _configuration = configuration;
        }
        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);
        }
 public TimesheetService(TrelloStatsConfiguration configuration, GoogleClient googleClient)
 {
     _configuration = configuration;
     _googleClient = googleClient;
 }
 public BoardStatsAnalysis(TrelloStatsConfiguration configuration, BoardStats boardStats)
 {
     BoardStats = boardStats;
     _configuration = configuration;
     Milestones = new List<Milestone>();
 }
 public BoardStatsService(TrelloStatsConfiguration configuration)
 {
     _configuration = configuration;
 }
 public SpreadsheetEntryFactory(TrelloStatsConfiguration configuration, HtmlFactory htmlFactory)
 {
     _configuration = configuration;
     _htmlFactory = htmlFactory;
 }