Ejemplo n.º 1
0
        public void AddAddress(Address addr)
        {
            Address a = GetAddress(addr.Location);
            if (a != null)
                a.Remove();

            AddChild(addr);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// </summary>
 /// <returns> </returns>
 public Address[] GetAddresses()
 {
     ElementList el = SelectElements(typeof (Address));
     int i = 0;
     var result = new Address[el.Count];
     foreach (Address add in el)
     {
         result[i] = add;
         i++;
     }
     return result;
 }