Exemple #1
0
 void SetMasterPageFile()
 {
     if (!string.IsNullOrEmpty(_master))
     {
         base.MasterPageFile = ThemeHelper.CreateThemeViewPath(Actor.Me.ThemeName, _area, _master);
     }
 }
Exemple #2
0
        public static string ThemeAreaContent(this UrlHelper helper, string AreaName, string url)
        {
            if (url.IsNullOrEmpty())
            {
                return(url);
            }
            string s = helper.Content(url);

            return(ThemeHelper.CreateThemeViewPath(Actor.Me.ThemeName, AreaName, s));
        }
 static string FilterpartialViewName(HtmlHelper htmlHelper, string AreaName, string partialViewName)
 {
     return(ThemeHelper.CreateThemeViewPath(htmlHelper.ViewContext.RequestContext.GetThemeName(), AreaName, partialViewName));
 }