public static IEnumerable <T> ReadStreamEventsBackward <T>(this IEventStoreConnection connection, string streamName)
        {
            if (connection == null)
            {
                throw new ArgumentNullException("connection");
            }
            var lastEventNumber = connection.GetLastEventNumber(streamName);

            return(lastEventNumber == null
                ? new T[0]
                : ReadResult <T>(connection, streamName, lastEventNumber.Value));
        }