// Hydrating internal void Hydrate(IEnumerable <Event> events) { foreach (var @event in events) { aggregate.ApplyEvent(@event.Replay()); } aggregate.ClearPendingEvents(); LastCommittedVersion = CurrentVersion; }