示例#1
0
        /// <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));
        }
示例#2
0
 public int CompareTo(IStompClient other)
 {
     return(SessionId.CompareTo(other.SessionId));
 }