/// <inheritdoc /> public override int GetHashCode() { unchecked { int hashCode = string.IsNullOrWhiteSpace(Avatar) ? 0 : Avatar !.GetHashCode(); hashCode = (hashCode * 397) ^ (string.IsNullOrWhiteSpace(Preview) ? 0 : Preview !.GetHashCode()); hashCode = (hashCode * 397) ^ (string.IsNullOrWhiteSpace(GroupName) ? 0 : GroupName !.GetHashCode()); hashCode = (hashCode * 397) ^ (Phones != null ? Phones.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ChatIds != null ? ChatIds.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (MessageText != null ? MessageText.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.receiverMid) { hashcode = (hashcode * 397) + ReceiverMid.GetHashCode(); } if (__isset.productId) { hashcode = (hashcode * 397) + ProductId.GetHashCode(); } if (__isset.language) { hashcode = (hashcode * 397) + Language.GetHashCode(); } if (__isset.location) { hashcode = (hashcode * 397) + Location.GetHashCode(); } if (__isset.currency) { hashcode = (hashcode * 397) + Currency.GetHashCode(); } if (__isset.price) { hashcode = (hashcode * 397) + Price.GetHashCode(); } if (__isset.appStoreCode) { hashcode = (hashcode * 397) + AppStoreCode.GetHashCode(); } if (__isset.messageText) { hashcode = (hashcode * 397) + MessageText.GetHashCode(); } if (__isset.messageTemplate) { hashcode = (hashcode * 397) + MessageTemplate.GetHashCode(); } if (__isset.packageId) { hashcode = (hashcode * 397) + PackageId.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { int hash = 1; if (MessageText.Length != 0) { hash ^= MessageText.GetHashCode(); } if (ErrorCode != 0) { hash ^= ErrorCode.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (Scope != 0) { hash ^= Scope.GetHashCode(); } if (State != 0) { hash ^= State.GetHashCode(); } if (Action != 0) { hash ^= Action.GetHashCode(); } if (ProjectName.Length != 0) { hash ^= ProjectName.GetHashCode(); } if (ClassName.Length != 0) { hash ^= ClassName.GetHashCode(); } if (FunctionName.Length != 0) { hash ^= FunctionName.GetHashCode(); } if (Url.Length != 0) { hash ^= Url.GetHashCode(); } if (Method.Length != 0) { hash ^= Method.GetHashCode(); } if (ParaJson.Length != 0) { hash ^= ParaJson.GetHashCode(); } if (MessageText.Length != 0) { hash ^= MessageText.GetHashCode(); } if (TimeStart != 0L) { hash ^= TimeStart.GetHashCode(); } if (TimeEnd != 0L) { hash ^= TimeEnd.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { return(((MessageText != null ? MessageText.GetHashCode() : 0) * 397) ^ (int)BackgroundColor); } }