GetRangeFromSet() публичный Метод

public GetRangeFromSet ( [ key, int startingFrom, int endingAt ) : List
key [
startingFrom int
endingAt int
Результат List
        public static List <RecurringJobDto> GetRecurringJobs(
            [NotNull] this JobStorageConnection connection,
            int startingFrom,
            int endingAt)
        {
            if (connection == null)
            {
                throw new ArgumentNullException("connection");
            }

            var ids = connection.GetRangeFromSet("recurring-jobs", startingFrom, endingAt);

            return(GetRecurringJobDtos(connection, ids));
        }
        public static List <OnEventJobDto> GetOnEventJobs(
            [NotNull] this JobStorageConnection connection,
            int startingFrom,
            int endingAt)
        {
            if (connection == null)
            {
                throw new ArgumentNullException(nameof(connection));
            }

            var ids = connection.GetRangeFromSet("on-event-jobs", startingFrom, endingAt);

            return(GetOnEventJobDtos(connection, ids));
        }