Ejemplo n.º 1
0
 public RecordedEvent(StreamName stream, object @event)
 {
     Stream = stream;
     Event  = @event ?? throw new ArgumentNullException(nameof(@event));
 }
Ejemplo n.º 2
0
 public EventSourcedEntityMapEntry(IEventSourcedEntity source, StreamName stream, int expectedVersion)
 {
     Entity          = source ?? throw new ArgumentNullException(nameof(source));
     Stream          = stream;
     ExpectedVersion = expectedVersion;
 }