コード例 #1
0
        public bool Equals(HousingDepartment other)
        {
            if (Object.ReferenceEquals(other, null))
            {
                return(false);
            }
            if (Object.ReferenceEquals(this, other))
            {
                return(true);
            }

            return(SyncDepartmentId.Equals(other.SyncDepartmentId));
        }
コード例 #2
0
 public override int GetHashCode()
 {
     return(SyncDepartmentId.GetHashCode());
 }