public override int GetHashCode()
                {
                    int hash = 1;

                    if (NotificationId.Length != 0)
                    {
                        hash ^= NotificationId.GetHashCode();
                    }
                    if (TitleKey.Length != 0)
                    {
                        hash ^= TitleKey.GetHashCode();
                    }
                    if (Category.Length != 0)
                    {
                        hash ^= Category.GetHashCode();
                    }
                    if (CreateTimestampMs != 0L)
                    {
                        hash ^= CreateTimestampMs.GetHashCode();
                    }
                    hash ^= variables_.GetHashCode();
                    hash ^= labels_.GetHashCode();
                    if (ExpireTimeMs != 0L)
                    {
                        hash ^= ExpireTimeMs.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }
        public override int GetHashCode()
        {
            int hashToId = ToId.GetHashCode();

            int hashNotificationId = NotificationId.GetHashCode();

            return(hashToId ^ hashNotificationId);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (NotificationId != 0)
            {
                hash ^= NotificationId.GetHashCode();
            }
            if (Category.Length != 0)
            {
                hash ^= Category.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #4
0
                        public override int GetHashCode()
                        {
                            int hash = 1;

                            if (NotificationId.Length != 0)
                            {
                                hash ^= NotificationId.GetHashCode();
                            }
                            if (TitleKey.Length != 0)
                            {
                                hash ^= TitleKey.GetHashCode();
                            }
                            if (Category.Length != 0)
                            {
                                hash ^= Category.GetHashCode();
                            }
                            if (CreateTimestampMs != 0L)
                            {
                                hash ^= CreateTimestampMs.GetHashCode();
                            }
                            hash ^= variables_.GetHashCode();
                            hash ^= labels_.GetHashCode();
                            return(hash);
                        }
Exemple #5
0
 public override int GetHashCode()
 {
     return(NotificationId.GetHashCode());
 }