public void Handle(TicketsReserved t)
        {
            Console.WriteLine("Creating Event source 'Tickets Reserved'");
            var evnt = new TicketsReservedEvent {
                OrderId = t.Order.OrderId, TicketCount = t.Order.TicketCount
            };

            StoreEvent(evnt);
        }
 public void Handle(TicketsReserved t)
 {
     Publisher.Publish(new CommitOrder {
         Order = t.Order
     });
 }
示例#3
0
 public void Handle(TicketsReserved t)
 {
     Publisher.Publish(new CalculateFees {
         Order = t.Order
     });
 }