public override int GetHashCode()
 {
     int hashCode = 793019971;
     hashCode = hashCode * -1521134295 + objectID.GetHashCode();
     hashCode = hashCode * -1521134295 + minAmount.GetHashCode();
     hashCode = hashCode * -1521134295 + mustBeActive.GetHashCode();
     return hashCode;
 }
        public override int GetHashCode()
        {
            int hashCode = 29301770;

            hashCode = hashCode * -1521134295 + customIcon.GetHashCode();
            hashCode = hashCode * -1521134295 + hidden.GetHashCode();
            hashCode = hashCode * -1521134295 + limit.GetHashCode();
            hashCode = hashCode * -1521134295 + treeID.GetHashCode();
            hashCode = hashCode * -1521134295 + treeDepth.GetHashCode();
            hashCode = hashCode * -1521134295 + id.GetHashCode();
            return(hashCode);
        }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            unchecked
            {
                int hash = 23;
                hash = hash * 17 * active.GetHashCode();
                hash = hash * 17 * instanceId.GetHashCode();
                hash = hash * 17 * id.GetHashCode();
                hash = hash * 17 * name.GetHashCode();
                hash = hash * 17 * components.GetHashCode();

                return(hash);
            }
        }