/// <summary> /// Compares two instances of this object. /// </summary> /// <param name="ChargeDetailRecord">A charge detail record object to compare with.</param> public Int32 CompareTo(ChargeDetailRecord ChargeDetailRecord) { if ((Object)ChargeDetailRecord == null) { throw new ArgumentNullException("The given charge detail record must not be null!"); } return(SessionId.CompareTo(ChargeDetailRecord.SessionId)); }
public int CompareTo(IStompClient other) { return(SessionId.CompareTo(other.SessionId)); }