protected void Sort(SortInformation <TItem> sortInformation) { currentSort = sortInformation; paginationControls.GoToPage(1); }
public bool Equals(SortInformation <TItem> other) { return(Key == other.Key && Type == other.Type); }
protected void Sort(ChangeEventArgs e) { currentSort = new SortInformation <TItem>((string)e.Value); paginationControls.GoToPage(1); }