Example #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="cache"></param>
        /// <returns></returns>
        public static int GetPageLevel(PageRenderModePageCache cache)
        {
            int level = cache.GetValue <int>(_S_PageLevelKey, 0);

            return(level);
        }
Example #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="cache"></param>
        /// <returns></returns>
        public static string GetPageUniqueID(PageRenderModePageCache cache)
        {
            string id = cache.GetValue <string>(_S_PageUniqueIDKey, string.Empty);

            return(id == null ? string.Empty : (string)id);
        }