public override int GetHashCode() { int ret = 0; // Base the calculation on the properties that are copied in CopyProperties ret |= ButtonCount.GetHashCode(); ret |= ButtonType.GetHashCode(); ret |= CurrentPageLabelCssClass.GetHashCode(); ret |= NextPageImageUrl.GetHashCode(); ret |= NextPageText.GetHashCode(); ret |= NextPreviousButtonCssClass.GetHashCode(); ret |= NumericButtonCssClass.GetHashCode(); ret |= PreviousPageImageUrl.GetHashCode(); ret |= PreviousPageText.GetHashCode(); ret |= RenderNonBreakingSpacesBetweenControls.GetHashCode(); return(ret); }
public override int GetHashCode() { int ret = 0; // Base the calculation on the properties that are copied in CopyProperties ret |= ButtonCssClass.GetHashCode(); ret |= ButtonType.GetHashCode(); ret |= FirstPageImageUrl.GetHashCode(); ret |= FirstPageText.GetHashCode(); ret |= LastPageImageUrl.GetHashCode(); ret |= LastPageText.GetHashCode(); ret |= NextPageImageUrl.GetHashCode(); ret |= NextPageText.GetHashCode(); ret |= PreviousPageImageUrl.GetHashCode(); ret |= PreviousPageText.GetHashCode(); ret |= ShowFirstPageButton.GetHashCode(); ret |= ShowLastPageButton.GetHashCode(); ret |= ShowNextPageButton.GetHashCode(); ret |= ShowPreviousPageButton.GetHashCode(); return(ret); }