Ejemplo n.º 1
0
        public void Handle(CreateCashOutCommand command, IEventPublisher eventPublisher)
        {
            Thread.Sleep(m_ProcessingTimeout);

            Console.WriteLine(Thread.CurrentThread.ManagedThreadId + " command recived:" + command.Payload);

            eventPublisher.PublishEvent(new CashOutCreatedEvent());
        }
Ejemplo n.º 2
0
 internal void Handle(CreateCashOutCommand command, IEventPublisher eventPublisher)
 {
     eventPublisher.PublishEvent(new CashOutCreatedEvent());
 }