Example #1
0
 public PagerSettings(int itemsPerPage, int adjacentPageCount, [NotNull] FetchPageUrlHandler pageUrlHandler)
 {
     ItemsPerPage      = itemsPerPage;
     AdjacentPageCount = adjacentPageCount;
     PageUrlHandler    = pageUrlHandler;
     CurrentPage       = 1;
 }
Example #2
0
 public PagerSettings(int itemsPerPage, [NotNull] FetchPageUrlHandler pageUrlHandler)
     : this(itemsPerPage, 3, pageUrlHandler)
 {
 }
Example #3
0
 public PagerSettings([NotNull] FetchPageUrlHandler pageUrlHandler)
     : this(10, 3, pageUrlHandler)
 {
 }
Example #4
0
 public FetchPageUrlTuple(FetchPageUrlHandler previousHandler, FetchPageUrlHandler nextHandler)
 {
     _previousHandler = previousHandler;
     _nextHandler     = nextHandler;
 }
Example #5
0
 public PagerSettings([NotNull] FetchPageUrlHandler pageUrlHandler)
     : base(pageUrlHandler)
 {
 }
Example #6
0
 public PagerSettings(int itemsPerPage, int adjacentPageCount, [NotNull] FetchPageUrlHandler pageUrlHandler)
     : base(itemsPerPage, adjacentPageCount, pageUrlHandler)
 {
 }