Ejemplo n.º 1
0
        public override global::System.Int32 GetHashCode()
        {
            unchecked
            {
                int hash = 5;
                hash ^= 397 * ClanId.GetHashCode();
                hash ^= 397 * CreatedAt.GetHashCode();
                hash ^= 397 * MembersCount.GetHashCode();
                if (Name != null)
                {
                    hash ^= 397 * Name.GetHashCode();
                }

                if (Tag != null)
                {
                    hash ^= 397 * Tag.GetHashCode();
                }

                return(hash);
            }
        }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Url != null ? Url.GetHashCode() : 0) ^ (Name != null ? Name.GetHashCode() : 0) ^ (Id != null ? Id.GetHashCode() : 0) ^ (Permission != null ? Permission.GetHashCode() : 0) ^ (MembersCount != null ? MembersCount.GetHashCode() : 0) ^ (ReposCount != null ? ReposCount.GetHashCode() : 0));
     }
 }