コード例 #1
0
        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);
        }
コード例 #2
0
 public abstract void RegisterModuleArea(ModuleAreaRegistrationContext context);