Example #1
0
        ///<summary>Compares this caller to another Caller instance.</summary>
        ///<remarks>This method allows the call list grid to be sorted by caller.</remarks>
        public int CompareTo(Caller other)
        {
            if (other == null)
            {
                return(1);
            }
            if (this == other)
            {
                return(0);
            }

            return(Person.CompareTo(other.Person));
        }