public void Handle(IViewContext context, PotatoCreated domainEvent)
        {
            Name = domainEvent.Name;

            TimeOfCreation = domainEvent.GetUtcTime();
        }
Exemplo n.º 2
0
 public void Apply(PotatoCreated e)
 {
 }
Exemplo n.º 3
0
 public void Handle(IViewContext context, PotatoCreated domainEvent)
 {
     NamesOfPotatoes[domainEvent.GetAggregateRootId()] = domainEvent.Name;
 }
Exemplo n.º 4
0
 public void Handle(IViewContext context, PotatoCreated domainEvent)
 {
     Thread.Sleep(100);
 }