Exemple #1
0
 public DomainEventBase
     (DomainEventId eventId, Dictionary <string, object> body)
 {
     EventId   = eventId;
     Body      = body;
     OcurredOn = DateTime.UtcNow;
 }
Exemple #2
0
 public abstract DomainEventBase FromPrimitives
     (DomainEventId eventId, Dictionary <string, object> body);
Exemple #3
0
 public DomainEventBase()
 {
     EventId   = new DomainEventId();
     Body      = new Dictionary <string, object>();
     OcurredOn = DateTime.UtcNow;
 }