Ejemplo n.º 1
0
            public ReadStreamEventsForwardCompleted(string eventStreamId,
                                                    EventLinkPair[] events,
                                                    RangeReadResult result,
                                                    long? lastCommitPosition)
            {
                Ensure.NotNullOrEmpty(eventStreamId, "streamId");

                EventStreamId = eventStreamId;
                Events = events;
                Result = (int)result;
                LastCommitPosition = lastCommitPosition;
            }
Ejemplo n.º 2
0
 public ReadAllEventsForwardCompleted(long commitPosition,
                                      long preparePosition,
                                      EventLinkPair[] events,
                                      long nextCommitPosition,
                                      long nextPreparePosition)
 {
     CommitPosition = commitPosition;
     PreparePosition = preparePosition;
     Events = events;
     NextCommitPosition = nextCommitPosition;
     NextPreparePosition = nextPreparePosition;
 }