public void Handle(IViewContext context, PotatoCreated domainEvent) { Name = domainEvent.Name; TimeOfCreation = domainEvent.GetUtcTime(); }
public void Apply(PotatoCreated e) { }
public void Handle(IViewContext context, PotatoCreated domainEvent) { NamesOfPotatoes[domainEvent.GetAggregateRootId()] = domainEvent.Name; }
public void Handle(IViewContext context, PotatoCreated domainEvent) { Thread.Sleep(100); }