public override int GetHashCode() { int hashCode = -54185413; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Title); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Description); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Payload); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ProviderToken); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Currency); hashCode = hashCode * -1521134295 + EqualityComparer <IEnumerable <LabeledPrice> > .Default.GetHashCode(Prices); hashCode = hashCode * -1521134295 + MaxTipAmount.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <IEnumerable <uint> > .Default.GetHashCode(SuggestedTipAmounts); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ProviderData); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(PhotoUrl); hashCode = hashCode * -1521134295 + PhotoSize.GetHashCode(); hashCode = hashCode * -1521134295 + PhotoWidth.GetHashCode(); hashCode = hashCode * -1521134295 + PhotoHeight.GetHashCode(); hashCode = hashCode * -1521134295 + NeedName.GetHashCode(); hashCode = hashCode * -1521134295 + NeedPhoneNumber.GetHashCode(); hashCode = hashCode * -1521134295 + NeedEmail.GetHashCode(); hashCode = hashCode * -1521134295 + NeedShippingAddress.GetHashCode(); hashCode = hashCode * -1521134295 + SendPhoneNumberToProvider.GetHashCode(); hashCode = hashCode * -1521134295 + SendEmailToProvider.GetHashCode(); hashCode = hashCode * -1521134295 + IsFlexible.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int hashCode = 1395552640; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Id); hashCode = hashCode * -1521134295 + EqualityComparer <InlineKeyboardMarkup> .Default.GetHashCode(ReplyMarkup); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ParseMode); hashCode = hashCode * -1521134295 + EqualityComparer <IEnumerable <MessageEntity> > .Default.GetHashCode(CaptionEntities); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Type); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(PhotoUrl); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Title); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ThumbUrl); hashCode = hashCode * -1521134295 + PhotoWidth.GetHashCode(); hashCode = hashCode * -1521134295 + PhotoHeight.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Description); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Caption); hashCode = hashCode * -1521134295 + EqualityComparer <InputMessageContent> .Default.GetHashCode(InputMessageContent); return(hashCode); }