public override bool Equals(object o) { if (this == o) { return(true); } if (o == null || this.GetType() != o.GetType()) { return(false); } ReplicatedIdAllocationRequest that = ( ReplicatedIdAllocationRequest )o; if (_idRangeStart != that._idRangeStart) { return(false); } if (_idRangeLength != that._idRangeLength) { return(false); } if (!_owner.Equals(that._owner)) { return(false); } return(_idType == that._idType); }
public override bool Equals(object o) { if (this == o) { return(true); } if (o == null || this.GetType() != o.GetType()) { return(false); } GlobalSession that = ( GlobalSession )o; if (!_sessionId.Equals(that._sessionId)) { return(false); } return(_owner.Equals(that._owner)); }