///<summary> ///Serves as a hash function for a particular type. ///</summary> /// ///<returns> ///A hash code for the current <see cref="T:System.Object" />. ///</returns> ///<filterpriority>2</filterpriority> public override int GetHashCode() { unchecked { int result = (_list != null ? _list.GetHashCode() : 0); result = (result * 397) ^ (SortColumn != null ? SortColumn.GetHashCode() : 0); result = (result * 397) ^ (FilterDef != null ? FilterDef.GetHashCode() : 0); return(result); } }
public override int GetHashCode() { unchecked { int result = Page; result = (result * 397) ^ ResultsPerPage; result = (result * 397) ^ (SortColumn != null ? SortColumn.GetHashCode() : 0); result = (result * 397) ^ SortAscending.GetHashCode(); return(result); } }
public override int GetHashCode() { return(SortColumn.GetHashCode()); }