public override int GetHashCode() { int hash = 1; if (AreaId != 0) { hash ^= AreaId.GetHashCode(); } if (AreaName.Length != 0) { hash ^= AreaName.GetHashCode(); } if (AreaState != 0) { hash ^= AreaState.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.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((AreaName?.GetHashCode() ?? 0) ^ (PageName?.GetHashCode() ?? 0)); }