Example #1
0
 public Person(ComparableIdentification id, string firstName, string lastName, NotComparableDate birthday, GenericComparableAddress address)
 {
     Id        = id;
     FirstName = firstName;
     LastName  = lastName;
     Birthday  = birthday;
     Address   = address;
 }
Example #2
0
        public int CompareTo(object obj)
        {
            ComparableIdentification other = obj as ComparableIdentification;

            if (other == null)
            {
                return(1);
            }

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