Esempio n. 1
0
        private static bool IsShowMetaData(IPageData pageData)
        {
            TkDebug.ThrowIfNoAppSetting();

            WebAppSetting setting = WebAppSetting.WebCurrent;

            return(setting.IsDebug && !pageData.IsPost &&
                   setting.IsShowMetaData(pageData.QueryString));
        }
Esempio n. 2
0
        public static bool IsShowMetaData(bool showSource, IPageData pageData)
        {
            TkDebug.ThrowIfNoAppSetting();

            WebAppSetting setting = WebAppSetting.WebCurrent;

            return(showSource && setting.IsDebug && !pageData.IsPost &&
                   setting.IsShowMetaData(pageData.QueryString));
        }