public int CompareTo(object obj) { GetMaxChildrenRequest maxChildrenRequest = (GetMaxChildrenRequest)obj; if (maxChildrenRequest == null) { throw new InvalidOperationException("Comparing different types of records."); } int num = this.Path.CompareTo(maxChildrenRequest.Path); if (num != 0) { return(num); } return(num); }
public int CompareTo(object obj) { GetMaxChildrenRequest peer = (GetMaxChildrenRequest)obj; if (peer == null) { throw new InvalidOperationException("Comparing different types of records."); } int ret = 0; ret = Path.CompareTo(peer.Path); if (ret != 0) { return(ret); } return(ret); }
public override bool Equals(object obj) { GetMaxChildrenRequest maxChildrenRequest = (GetMaxChildrenRequest)obj; if (maxChildrenRequest == null) { return(false); } if (object.ReferenceEquals((object)maxChildrenRequest, (object)this)) { return(true); } bool flag = this.Path.Equals(maxChildrenRequest.Path); if (!flag) { return(flag); } return(flag); }
public override bool Equals(object obj) { GetMaxChildrenRequest peer = (GetMaxChildrenRequest)obj; if (peer == null) { return(false); } if (Object.ReferenceEquals(peer, this)) { return(true); } bool ret = false; ret = Path.Equals(peer.Path); if (!ret) { return(ret); } return(ret); }
public override bool Equals(object obj) { GetMaxChildrenRequest objA = (GetMaxChildrenRequest)obj; if (objA == null) { return(false); } if (object.ReferenceEquals(objA, this)) { return(true); } bool flag = false; flag = this.Path.Equals(objA.Path); if (!flag) { return(flag); } return(flag); }