protected void Application_Start()
 {
     AreaRegistration.RegisterAllAreas();
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundles(BundleTable.Bundles);
     GameActorSystem.Create();
 }
示例#2
0
 void Application_End()
 {
     GameActorSystem.ShutDown();
 }
示例#3
0
 protected void Application_End() 
 {
     GameActorSystem.Shutdown();
 }
 // This method gets called by the runtime. Use this method to add services to the container.
 public void ConfigureServices(IServiceCollection services)
 {
     services.AddControllersWithViews();
     GameActorSystem.Create();
 }
示例#5
0
 private void Application_End()
 {
     GameActorSystem.Shutdown();
 }
示例#6
0
 private void OnStopping()
 {
     GameActorSystem.Shutdown();
 }
示例#7
0
 private void OnStart()
 {
     GameActorSystem.Create(_gameEventsPusher);
 }