Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = PropertyPath.GetHashCode();
         hashCode = (hashCode * 397) ^ (OldValue != null ? OldValue.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (NewValue != null ? NewValue.GetHashCode() : 0);
         return(hashCode);
     }
 }
Ejemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Attribute != null ? Attribute.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (OldValue != null ? OldValue.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (NewValue != null ? NewValue.GetHashCode() : 0);
         return(hashCode);
     }
 }
Ejemplo n.º 4
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);
        }
Ejemplo n.º 6
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (__isset.itemKey)
                {
                    hashcode = (hashcode * 397) + ItemKey.GetHashCode();
                }
                if (__isset.oldValue)
                {
                    hashcode = (hashcode * 397) + OldValue.GetHashCode();
                }
                if (__isset.newValue)
                {
                    hashcode = (hashcode * 397) + NewValue.GetHashCode();
                }
            }
            return(hashcode);
        }
Ejemplo n.º 7
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);
        }
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(OldValue.GetHashCode() ^ NewValue.GetHashCode());
 }
Ejemplo n.º 9
0
 public override int GetHashCode()
 {
     return(base.GetHashCode() ^ Property.GetHashCode() ^ OldValue.GetHashCode() ^ CurrentValue.GetHashCode());
 }
Ejemplo n.º 10
0
 public override int GetHashCode()
 {
     return(Url.GetHashCode() ^ RuleIndex ^ OldValue.GetHashCode() ^ NewValue.GetHashCode());
 }