Exemplo n.º 1
0
        public void Process <TCommand>(TCommand command) where TCommand : ICommand
        {
            var handler = _factory.GetFor <TCommand>();

            handler.Handle(command);
        }