Bookstore.WebSite.MvcApplication.OnApplicationStarted C# (CSharp) Méthode

OnApplicationStarted() protected méthode

protected OnApplicationStarted ( ) : void
Résultat void
        protected override void OnApplicationStarted()
        {
            RegisterAllControllersIn(typeof(WebAppServices).Assembly);
              RegisterAllControllersIn(typeof(SplitsServices).Assembly);
              AreaRegistration.RegisterAllAreas();

              ServiceLocator.Current.GetInstance<ApplicationStartup>().Start();
              ServiceLocator.Current.GetInstance<WebAppStartup>().Start(RouteTable.Routes);
        }