Exemplo n.º 1
0
        /// <summary>
        /// 构造函数
        /// </summary>
        public ViewPathHelper()
        {
            CACHEOBJECT = CachedConfigContext.Current.FrameworkConfig;
            CURRENTABSOLUTTHEMPATH = CACHEOBJECT.ThemesPath + "/" + CACHEOBJECT.CurrentTheme + "/";

            MANAGEVIEWPATH = CURRENTABSOLUTTHEMPATH + CACHEOBJECT.ManageViewPath;
            DIALOGVIEWPATH = CURRENTABSOLUTTHEMPATH + CACHEOBJECT.DialogViewPath;
            NORMALVIEWPATH = CURRENTABSOLUTTHEMPATH + CACHEOBJECT.NormalViewPath;
            MEMBERVIEWPATH = CURRENTABSOLUTTHEMPATH + CACHEOBJECT.MemberViewPath;
            CONTROLPATH = CURRENTABSOLUTTHEMPATH + CACHEOBJECT.ControlPath + "/";
        }
Exemplo n.º 2
0
 static Email()
 {
     FrameworkConfig = CachedConfigContext.Current.FrameworkConfig;
 }