Beispiel #1
0
        /// <summary>
        /// Sets the default bounds for admin paging queries which is a
        /// default page size of 20 and and a maximum page size of 100.
        /// </summary>
        /// <param name="query">Query to set bounds for.</param>
        public static void SetDefaultBounds(IPageableQuery query)
        {
            if (query == null)
            {
                throw new ArgumentNullException(nameof(query));
            }

            query.SetBounds(40, 100);
        }