BoC.Security.Mvc.SecurityAreaRegistration.RegisterArea C# (CSharp) Méthode

RegisterArea() public méthode

public RegisterArea ( System.Web.Mvc.AreaRegistrationContext context ) : void
context System.Web.Mvc.AreaRegistrationContext
Résultat void
        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute("security_default", "Security/{controller}/{action}/{id}",
                             new {controller = "Home", action = "index", id = ""},
                             new [] {typeof(AccountController).Namespace});

            context.MapRoute(
                "OpenIdDiscover",
                "Security/Auth/Discover");
        }
SecurityAreaRegistration