Beispiel #1
0
        static void generateStandup(int offset = 0, bool showOnCompletion = true)
        {
            KanbanFlow kb = new KanbanFlow();

            kb.SignIn();
            kb.populateBoard();
            kb.populateDueDates();

            CalendarServices cs = new CalendarServices();

            cs.SignIn();

            WeatherClient wc = new WeatherClient();

            wc.SetToken();

            StandupReport report = new StandupReport(cs, kb, wc);
            string        path   = report.GenerateReport(offset);

            if (showOnCompletion && path != "")
            {
                Process p = new Process();
                p.StartInfo = new ProcessStartInfo(path);
                p.Start();
            }
        }
Beispiel #2
0
 public StandupReport(CalendarServices googleClient, KanbanFlow kanbanClient, WeatherClient weatherClient)
 {
     GoogleClient    = googleClient;
     KanbanClient    = kanbanClient;
     WeatherReporter = weatherClient;
 }