Exemplo n.º 1
0
        public void UndoDelete(ContactCollection originalList)
        {
            foreach (Contact contact in this)
            {
                originalList.Add(contact);
            }

            this.Clear();
        }
Exemplo n.º 2
0
        public TourMember()
        {
            this.title      = new GeneralType();
            this.memberShip = new GeneralType();
            this.contacts   = new ContactCollection();
            this.id         = -1;

            this.DeletedContacts = new ContactCollection();
        }
Exemplo n.º 3
0
        internal void CopyTo(ContactCollection contacts)
        {
            contacts.Clear();

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

                contacts.Add(newcontact);
            }
        }