Пример #1
0
        private static void BootstrapHandlers(IServiceCollection services)
        {
            var registerHandler = (IQueryHandlerRegister)QueryHandler;
            var serviceProvider = services.BuildServiceProvider();

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

            TeamBootstrapper.DoBootstrap(registerHandler, serviceProvider);
        }