private void ConfigureServices(ServiceProvider serviceProvider)
        {
            InitClientServices();

            ConfigureEventBus(serviceProvider);

            RegisterManager.ConfigureAuxServices(serviceProvider);
        }
Esempio n. 2
0
 private void RegisterPlayerServices()
 {
     Container.Register <HumanPlayer>(new PerContainerLifetime());
     Container.Register <IBotPlayer, BotPlayer>(new PerContainerLifetime());
     Container.Register <IHumanActorTaskSource, HumanActorTaskSource>(new PerContainerLifetime());
     Container.Register <MonsterBotActorTaskSource>(new PerContainerLifetime());
     RegisterManager.RegisterBot(Container);
     RegisterManager.ConfigureAuxServices(Container);
 }
        private void Configure(IServiceProvider serviceProvider)
        {
            ConfigureEventBus(serviceProvider);

            RegisterManager.ConfigureAuxServices(serviceProvider);
        }