Пример #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);
        }
Пример #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);
        }
Пример #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();
        }
Пример #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);
        }
Пример #5
0
 public TimerDateModel(DateTime timerDate, IJiraTimerCollection jiraTimerCollection)
 {
     this.jiraTimerCollection = jiraTimerCollection;
     TimerDate = timerDate;
     Timers    = new ObservableCollection <TimerModel>();
 }
Пример #6
0
 public TimerDateModel(DateTime timerDate, IJiraTimerCollection jiraTimerCollection)
 {
     this.jiraTimerCollection = jiraTimerCollection;
     TimerDate = timerDate;
     Timers = new ObservableCollection<TimerModel>();
 }