Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Timestamp != 0UL)
            {
                hash ^= Timestamp.GetHashCode();
            }
            if (ChangeType != 0)
            {
                hash ^= ChangeType.GetHashCode();
            }
            if (OperateType != 0)
            {
                hash ^= OperateType.GetHashCode();
            }
            if (RoleType != 0)
            {
                hash ^= RoleType.GetHashCode();
            }
            if (roleAttr_ != null)
            {
                hash ^= RoleAttr.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
 public override int GetHashCode()
 {
     return(RoleType.GetHashCode());
 }