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); }
static Ratings() { SkinProvider = new SkinProvider(); }
public ProductImageGallery() { SkinProvider = new SkinProvider(); }
public XmlPackageManager() { SkinProvider = new SkinProvider(); }
public Topic() { SkinProvider = new SkinProvider(); }