public int CompareTo(object obj) { SetDataResponse setDataResponse = (SetDataResponse)obj; if (setDataResponse == null) { throw new InvalidOperationException("Comparing different types of records."); } int num = this.Stat.CompareTo((object)setDataResponse.Stat); if (num != 0) { return(num); } return(num); }
/// <summary> /// /// </summary> /// <param name="obj"></param> /// <returns></returns> public int CompareTo(object obj) { SetDataResponse peer = (SetDataResponse)obj; if (peer == null) { throw new InvalidOperationException("Comparing different types of records."); } int ret = 0; ret = Stat.CompareTo(peer.Stat); if (ret != 0) { return(ret); } return(ret); }
public override bool Equals(object obj) { SetDataResponse setDataResponse = (SetDataResponse)obj; if (setDataResponse == null) { return(false); } if (object.ReferenceEquals((object)setDataResponse, (object)this)) { return(true); } bool flag = this.Stat.Equals((object)setDataResponse.Stat); if (!flag) { return(flag); } return(flag); }
/// <summary> /// /// </summary> /// <param name="obj"></param> /// <returns></returns> public override bool Equals(object obj) { SetDataResponse peer = (SetDataResponse)obj; if (peer == null) { return(false); } if (Object.ReferenceEquals(peer, this)) { return(true); } bool ret = false; ret = Stat.Equals(peer.Stat); if (!ret) { return(ret); } return(ret); }
public override bool Equals(object obj) { SetDataResponse objA = (SetDataResponse)obj; if (objA == null) { return(false); } if (object.ReferenceEquals(objA, this)) { return(true); } bool flag = false; flag = this.Stat.Equals(objA.Stat); if (!flag) { return(flag); } return(flag); }