public PaginationResult( PaginationResult <T> paginationResult ) { ItemsToDisplay = paginationResult.ItemsToDisplay; Page = paginationResult.Page; TotalPages = paginationResult.TotalPages; ItemsPerPage = paginationResult.ItemsPerPage; MatchingSearchResults = paginationResult.MatchingSearchResults; JavascriptSearchSortFilterPaginateEnabled = paginationResult.JavascriptSearchSortFilterPaginateEnabled; }
public SearchSortFilterPaginationResult( PaginationResult <T> paginationResult, string?searchString, string?sortBy, string?sortDirection, string?filterString ) : base(paginationResult) { SearchString = searchString; SortBy = sortBy; SortDirection = sortDirection; FilterString = filterString; }