// Token: 0x06000918 RID: 2328 RVA: 0x00041798 File Offset: 0x0003F998
        public static void FinishCacheSession(UserContext userContext)
        {
            if (userContext == null)
            {
                throw new ArgumentNullException("userContext");
            }
            FolderMruCache cacheInstance = FolderMruCache.GetCacheInstance(userContext);

            cacheInstance.InternalFinishCacheSession();
            cacheInstance.Commit();
        }
        // Token: 0x06000917 RID: 2327 RVA: 0x0004174C File Offset: 0x0003F94C
        public static void DeleteFromCache(StoreObjectId folderId, UserContext userContext)
        {
            if (folderId == null)
            {
                throw new ArgumentNullException("folderId");
            }
            if (userContext == null)
            {
                throw new ArgumentNullException("userContext");
            }
            FolderMruCache cacheInstance        = FolderMruCache.GetCacheInstance(userContext);
            int            entryIndexByFolderId = cacheInstance.GetEntryIndexByFolderId(folderId);

            if (entryIndexByFolderId == -1)
            {
                return;
            }
            cacheInstance.ShiftBackEntries(entryIndexByFolderId + 1);
            cacheInstance.Commit();
        }