Exemplo n.º 1
0
        internal ActivityChecker(IJiraTimerCollection timerCollection, IAppSettings appSettings)
        {
            this.timerCollection = timerCollection;
            noTimerRunning       = new Stopwatch();
            lockObject           = new object();

            hearbeat          = new Timer(500);
            hearbeat.Elapsed += HearbeatOnElapsed;

            UpdateAppSettings(appSettings);
        }
Exemplo n.º 2
0
        internal ActivityChecker(IJiraTimerCollection timerCollection, IAppSettings appSettings)
        {
            activityStopwatch = new ActivityStopwatch();
            this.timerCollection = timerCollection;
            lockObject = new object();

            hearbeat = new Timer(500);
            hearbeat.Elapsed += HearbeatOnElapsed;

            UpdateAppSettings(appSettings);
        }
Exemplo n.º 3
0
        internal ActivityChecker(IJiraTimerCollection timerCollection, ISettingsCollection settingsCollection)
        {
            activityStopwatch       = new ActivityStopwatch();
            this.timerCollection    = timerCollection;
            this.settingsCollection = settingsCollection;
            lockObject = new object();

            hearbeat          = new Timer(500);
            hearbeat.Elapsed += HearbeatOnElapsed;
            hearbeat.Start();
        }
Exemplo n.º 4
0
        internal ActivityChecker(IJiraTimerCollection timerCollection, IAppSettings appSettings)
        {
            this.timerCollection = timerCollection;
            noTimerRunning = new Stopwatch();
            TemporaryStopActivityCheck = false;
            lockObject = new object();

            hearbeat = new Timer(500);
            hearbeat.Elapsed += HearbeatOnElapsed;

            UpdateAppSettings(appSettings);
        }
Exemplo n.º 5
0
 public TimerDateModel(DateTime timerDate, IJiraTimerCollection jiraTimerCollection)
 {
     this.jiraTimerCollection = jiraTimerCollection;
     TimerDate = timerDate;
     Timers    = new ObservableCollection <TimerModel>();
 }
Exemplo n.º 6
0
 public TimerDateModel(DateTime timerDate, IJiraTimerCollection jiraTimerCollection)
 {
     this.jiraTimerCollection = jiraTimerCollection;
     TimerDate = timerDate;
     Timers = new ObservableCollection<TimerModel>();
 }