public T Handle(DbDataReader reader, IMartenSession session) { // TODO -- return null if there are no events var @events = _inner.Handle(reader, session); return(_state == null?_aggregator.Build(@events, (IDocumentSession)_session) : _aggregator.Build(@events, (IDocumentSession)_session, _state)); }
public T Handle(DbDataReader reader, IIdentityMap map, QueryStatistics stats) { var @events = _inner.Handle(reader, map, stats); return(_aggregator.Build(@events, _session)); }
public T Handle(DbDataReader reader, IIdentityMap map) { var @events = _inner.Handle(reader, map); return(_aggregator.Build(@events, _session)); }