protected void RegisterStandardArea(RouteCollection routes, ResourceSettings resourceSettings, string areaName, string clientResourcePrefix) { Assembly assembly = GetType().Assembly; resourceSettings.AssemblyPathPrefixes.Add(areaName, assembly); resourceSettings.ClientResourcePrefixes.Add(assembly, clientResourcePrefix); RegisterStandardRoutes(routes, assembly, areaName, clientResourcePrefix); }
public override void Register(RouteCollection routes, ResourceSettings resourceSettings) { RegisterStandardArea(routes, resourceSettings, "ecommerceadmin", "Assets"); routes.IgnoreRoute("ecommerceadmin/{*pathInfo}"); }
protected void RegisterStandardArea(RouteCollection routes, ResourceSettings resourceSettings, string areaName) { RegisterStandardArea(routes, resourceSettings, areaName, "Content"); }
public abstract void Register(RouteCollection routes, ResourceSettings resourceSettings);
public EmbeddedResourceBuilder(IKernel kernel) { _kernel = kernel; _resourceSettings = new ResourceSettings(); }
public override void Register(RouteCollection routes, ResourceSettings resourceSettings) { RegisterStandardArea(routes, resourceSettings, "zeus", "Web.Resources"); }
public override void Register(RouteCollection routes, ResourceSettings resourceSettings) { AdminSection adminSection = (AdminSection) ConfigurationManager.GetSection("zeus/admin"); RegisterStandardArea(routes, resourceSettings, adminSection.Path, "Assets"); }