public ModuleAreaRegistrationContext CreateContext(RouteCollection routes, object state) { ModuleAreaRegistrationContext context = new ModuleAreaRegistrationContext(this.ModuleAreaName, this.ModuleName, routes, state); string thisNamespace = this.GetType().Namespace; if (thisNamespace != null) { context.Namespaces.Add(thisNamespace + ".*"); } return(context); }
public abstract void RegisterModuleArea(ModuleAreaRegistrationContext context);