示例#1
0
        public DiscoIdentity AddIdentity()
        {
            DiscoIdentity id = new DiscoIdentity();

            AddChild(id);
            return(id);
        }
示例#2
0
        public DiscoIdentity[] GetIdentities()
        {
            ElementList nl = SelectElements(typeof(DiscoIdentity));

            DiscoIdentity[] items = new DiscoIdentity[nl.Count];
            int             i     = 0;

            foreach (Element e in nl)
            {
                items[i] = (DiscoIdentity)e;
                i++;
            }
            return(items);
        }
示例#3
0
 public void AddIdentity(DiscoIdentity id)
 {
     AddChild(id);
 }