Esempio n. 1
0
        internal void Initialise()
        {
            var timers = JiraTimerCollectionSerializer.DeSerialize();

            timers.AddRange(timerList);
            timerList.Clear();
            timerList.AddRange(timers.Distinct(new DuplicateTimerComparer()));
            isIntialised = true;
        }
 internal JiraTimerCollection(IExportSettings exportSettings)
 {
     this.exportSettings = exportSettings;
     timerList           = JiraTimerCollectionSerializer.DeSerialize();
 }
Esempio n. 3
0
 internal JiraTimerCollection(IExportSettings exportSettings, ITrackUsage trackUsage)
 {
     this.exportSettings = exportSettings;
     this.trackUsage     = trackUsage;
     timerList           = JiraTimerCollectionSerializer.DeSerialize();
 }
Esempio n. 4
0
 internal JiraTimerCollection(ISettingsCollection settingsCollection, ITrackUsage trackUsage)
 {
     this.settingsCollection = settingsCollection;
     this.trackUsage         = trackUsage;
     timerList = JiraTimerCollectionSerializer.DeSerialize();
 }
 internal JiraTimerCollection()
 {
     timerList = JiraTimerCollectionSerializer.DeSerialize();
 }