예제 #1
0
        public void UndoDelete(ContactCollection originalList)
        {
            foreach (Contact contact in this)
            {
                originalList.Add(contact);
            }

            this.Clear();
        }
예제 #2
0
        public TourMember()
        {
            this.title      = new GeneralType();
            this.memberShip = new GeneralType();
            this.contacts   = new ContactCollection();
            this.id         = -1;

            this.DeletedContacts = new ContactCollection();
        }
예제 #3
0
        internal void CopyTo(ContactCollection contacts)
        {
            contacts.Clear();

            foreach (Contact contact in this)
            {
                Contact newcontact = new Contact();
                contact.CopyTo(newcontact);

                contacts.Add(newcontact);
            }
        }