예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Element.Length != 0)
            {
                hash ^= Element.GetHashCode();
            }
            if (OldValue.Length != 0)
            {
                hash ^= OldValue.GetHashCode();
            }
            if (NewValue.Length != 0)
            {
                hash ^= NewValue.GetHashCode();
            }
            if (ChangeType != global::Google.Api.ChangeType.Unspecified)
            {
                hash ^= ChangeType.GetHashCode();
            }
            hash ^= advices_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 17;
         hash = hash * 23 + Name.GetHashCode();
         hash = hash * 23 + OldValue.GetHashCode();
         hash = hash * 23 + NewValue.GetHashCode();
         return(hash);
     }
 }
        public virtual int _GetUniqueIdentifier()
        {
            var hashCode = 399326290;

            hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (UserName?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (IPAddress?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (EntityFullName?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (EntityShortName?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (EntityId?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (Timestamp?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (EntryTypeId?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (ActionTypeId?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (OldValue?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (NewValue?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (PropertyName?.GetHashCode() ?? 0);
            return(hashCode);
        }
예제 #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Element.Length != 0)
            {
                hash ^= Element.GetHashCode();
            }
            if (OldValue.Length != 0)
            {
                hash ^= OldValue.GetHashCode();
            }
            if (NewValue.Length != 0)
            {
                hash ^= NewValue.GetHashCode();
            }
            if (ChangeType != 0)
            {
                hash ^= ChangeType.GetHashCode();
            }
            hash ^= advices_.GetHashCode();
            return(hash);
        }
예제 #5
0
 public override int GetHashCode()
 {
     return(Url.GetHashCode() ^ RuleIndex ^ OldValue.GetHashCode() ^ NewValue.GetHashCode());
 }