Beispiel #1
0
 public PageModelDto(SearchPagedDto search, IReadOnlyList <T> data, int count, dynamic XData = null)
 {
     this.PageIndex  = search.PageIndex;
     this.PageSize   = search.PageSize;
     this.TotalCount = count;
     this.Data       = data as IReadOnlyList <T>;
     this.XData      = XData;
 }
Beispiel #2
0
 public PageModelDto(SearchPagedDto search, IReadOnlyList<T> data, int count, dynamic xData = null)
     : this(search.PageIndex, search.PageSize, data, count)
 {
     this.XData = xData;
 }
Beispiel #3
0
 public PageModelDto(SearchPagedDto search)
     : this(search, default, default)
 {
 }
Beispiel #4
0
 public PageModelDto(SearchPagedDto search)
 {
     this.PageIndex = search.PageIndex;
     this.PageSize  = search.PageSize;
 }