internal static List <IdleTimer> DeSerialize()
        {
            if (serializer == null)
            {
                serializer = new ItemSerializer <List <IdleTimer> >("IdleTimerCollection.dat");
            }

            return(serializer.DeSerialize().Distinct(new DuplicateIdleTimerComparer()).ToList());
        }
        internal static List <RecentJira> DeSerialize()
        {
            if (serializer == null)
            {
                serializer = new ItemSerializer <List <RecentJira> >("RecentJira.dat");
            }

            return(serializer.DeSerialize());
        }
        internal static SettingsCollection DeSerialize()
        {
            if (serializer == null)
            {
                serializer = new ItemSerializer <SettingsCollection>("Settings.dat");
            }

            return(serializer.DeSerialize());
        }
Beispiel #4
0
        internal static List <RecentJira> DeSerialize()
        {
            if (serializer == null)
            {
                serializer = new ItemSerializer <List <RecentJira> >("RecentJira.dat");
            }

            return(serializer.DeSerialize().Distinct(new DuplicateRecentJiraComparer()).ToList());
        }
        internal static List <JiraTimer> DeSerialize()
        {
            if (serializer == null)
            {
                serializer = new ItemSerializer <List <JiraTimer> >("TimerCollection.dat");
            }

            return(serializer.DeSerialize());
        }
Beispiel #6
0
        internal static SettingsCollection DeSerialize()
        {
            if (serializer == null)
            {
                serializer = new ItemSerializer <SettingsCollection>("Settings.dat");
            }

            var settings = serializer.DeSerialize();

            return(SetMissingDefaults(settings));
        }
        internal static SettingsCollection DeSerialize()
        {
            if (serializer == null)
            {
                serializer = new ItemSerializer <SettingsCollection>("Settings.dat");
            }

            var settings = serializer.DeSerialize();

            if (settings.InternalSettings.ValidateInstallationId())
            {
                Serialize(settings);
            }

            return(settings);
        }