예제 #1
0
        public static string AppRelativeSkinUrl(this UrlHelper url, string path)
        {
            var skinId       = (int)url.RequestContext.RouteData.Values[RouteDataKeys.SkinId];
            var skinProvider = new SkinProvider();
            var baseSkinUrl  = string.Format("~/skins/{0}/", skinProvider.GetSkinNameById(skinId));
            var virtualPath  = VirtualPathUtility.Combine(baseSkinUrl, path);

            return(virtualPath);
        }
예제 #2
0
 static Ratings()
 {
     SkinProvider = new SkinProvider();
 }
 public ProductImageGallery()
 {
     SkinProvider = new SkinProvider();
 }
예제 #4
0
 public XmlPackageManager()
 {
     SkinProvider = new SkinProvider();
 }
예제 #5
0
 public Topic()
 {
     SkinProvider = new SkinProvider();
 }