getPaginationRules static method

String getPaginationRules(
  1. PaginationOptions options
)

Implementation

static String getPaginationRules(PaginationOptions options) {
  //string rules = $"&pagination.count_total={options.Count_total}&pagination.reverse={options.Reverse}";
  //if (!string.IsNullOrWhiteSpace(options.Limit))
  //{
  //    rules = string.Concat(rules, $"&pagination.limit={options.Limit}");
  //}
  //if (!string.IsNullOrWhiteSpace(options.Key))
  //{
  //    rules = string.Concat(rules, $"&pagination.key={options.Key}");
  //}
  //if (!string.IsNullOrWhiteSpace(options.Offset))
  //{
  //    rules = string.Concat(rules, $"&pagination.offset={options.Offset}");
  //}

  //return rules.ToLower();

  return "";
}