// 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();
        }
        // Token: 0x06000916 RID: 2326 RVA: 0x00041700 File Offset: 0x0003F900
        public static FolderMruCache GetCacheInstance(UserContext userContext)
        {
            if (userContext == null)
            {
                throw new ArgumentNullException("userContext");
            }
            FolderMruCache folderMruCache = null;

            if (!userContext.IsMruSessionStarted)
            {
                userContext.IsMruSessionStarted = true;
                folderMruCache = new FolderMruCache(userContext);
                folderMruCache.StartCacheSession();
                folderMruCache.Commit();
            }
            if (folderMruCache == null)
            {
                return(new FolderMruCache(userContext));
            }
            return(folderMruCache);
        }