Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hashCode = 766192183;

            hashCode = hashCode * -1521134295 + CanSendMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanSendMediaMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanSendPolls.GetHashCode();
            hashCode = hashCode * -1521134295 + CanSendOtherMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanAddWebPagePreviews.GetHashCode();
            hashCode = hashCode * -1521134295 + CanChangeInfo.GetHashCode();
            hashCode = hashCode * -1521134295 + CanInviteUsers.GetHashCode();
            hashCode = hashCode * -1521134295 + CanPinMessages.GetHashCode();
            return(hashCode);
        }
        public override int GetHashCode()
        {
            int hashCode = 1477798765;

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Status);

            hashCode = hashCode * -1521134295 + EqualityComparer <User> .Default.GetHashCode(User);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Status);

            hashCode = hashCode * -1521134295 + IsMember.GetHashCode();
            hashCode = hashCode * -1521134295 + CanChangeInfo.GetHashCode();
            hashCode = hashCode * -1521134295 + CanInviteUsers.GetHashCode();
            hashCode = hashCode * -1521134295 + CanPinMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanSendMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanSendMediaMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanSendPolls.GetHashCode();
            hashCode = hashCode * -1521134295 + CanSendOtherMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanAddWebPagePreviews.GetHashCode();
            hashCode = hashCode * -1521134295 + UntilDate.GetHashCode();
            return(hashCode);
        }