Beispiel #1
0
        private static void UpdateInCache(Entities.Tour tour)
        {
            int index = GetIndexInCache(tour);

            if (index != cache.IndexOf(tour))
            {
                cache.Remove(tour);
                cache.Insert(index, tour);
            }
        }