Exemple #1
0
        private static void BootstrapHandlers(IServiceCollection services)
        {
            var registerHandler = (IQueryHandlerRegister)QueryHandler;
            var serviceProvider = services.BuildServiceProvider();

            TeamBootstrapper.DoBootstrap(registerHandler, serviceProvider);
        }
Exemple #2
0
        private static void BootstrapHandlers(IServiceCollection services)
        {
            var registerHandler = (IRegisterCommandHandler)Dispatcher;
            var serviceProvider = services.BuildServiceProvider();

            TeamBootstrapper.DoBootstrap(registerHandler, serviceProvider);
        }