Example #1
0
 public DiscoIdentity AddIdentity()
 {
     var id = new DiscoIdentity();
     AddChild(id);
     return id;
 }
Example #2
0
 public void AddIdentity(DiscoIdentity id)
 {
     AddChild(id);
 }
Example #3
0
 public DiscoIdentity[] GetIdentities()
 {
     ElementList nl = SelectElements(typeof (DiscoIdentity));
     var items = new DiscoIdentity[nl.Count];
     int i = 0;
     foreach (Element e in nl)
     {
         items[i] = (DiscoIdentity) e;
         i++;
     }
     return items;
 }