Ejemplo n.º 1
0
 private EventData CreateEventData(Guid streamId, IAggregateEvent @event, DateTime created, int commitSequence)
 {
     return(new EventData
     {
         EventId = Guid.NewGuid(),
         StreamId = streamId,
         Json = _serializer.SerializeObject(@event),
         Created = created,
         CommitSequence = commitSequence
     });
 }