Esempio n. 1
0
        public Address[] GetAddresses()
        {
            ElementList nl = SelectElements("address");
            var addresses = new Address[nl.Count];

            int i = 0;
            foreach (Element e in nl)
            {
                addresses[i] = (Address) e;
                i++;
            }
            return addresses;
        }
Esempio n. 2
0
 public Address AddAddress(Address address)
 {
     AddChild(address);
     return address;
 }