Exemple #1
0
 public void Given(UncommittedEventStream history)
 {
     var historyBySources = history.GroupBy(e => e.EventSourceId);
     foreach (var sourceHistory in historyBySources)
     {
         _underTest.Add(sourceHistory.Key);
         Store(history.CommitId, sourceHistory);
     }
 }
Exemple #2
0
        public void Given(UncommittedEventStream history)
        {
            var historyBySources = history.GroupBy(e => e.EventSourceId);

            foreach (var sourceHistory in historyBySources)
            {
                _underTest.Add(sourceHistory.Key);
                Store(history.CommitId, sourceHistory);
            }
        }