예제 #1
0
        private List <IFavorite> MergeWithNewTodays(SortableList <IFavorite> oldTodays)
        {
            List <IFavorite> newTodays = this.GetDateItems(HistoryIntervals.TODAY);

            if (oldTodays != null)
            {
                newTodays = DataDispatcher.GetMissingFavorites(newTodays, oldTodays);
            }
            return(newTodays);
        }
예제 #2
0
        private List <FavoriteConfigurationElement> MergeWithNewTodays(
            SortableList <FavoriteConfigurationElement> oldTodays)
        {
            List <FavoriteConfigurationElement> newTodays = this.GetDateItems(HistoryByFavorite.TODAY);

            if (oldTodays != null)
            {
                newTodays = DataDispatcher.GetMissingFavorites(newTodays, oldTodays);
            }
            return(newTodays);
        }