Esempio n. 1
0
        public DiscoFeature AddFeature()
        {
            DiscoFeature f = new DiscoFeature();

            AddChild(f);
            return(f);
        }
Esempio n. 2
0
        /// <summary>
        /// Gets all Features
        /// </summary>
        /// <returns></returns>
        public DiscoFeature[] GetFeatures()
        {
            ElementList nl = SelectElements(typeof(DiscoFeature));

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

            foreach (Element e in nl)
            {
                items[i] = (DiscoFeature)e;
                i++;
            }
            return(items);
        }
Esempio n. 3
0
 public void AddFeature(DiscoFeature f)
 {
     AddChild(f);
 }
Esempio n. 4
0
 public DiscoFeature AddFeature()
 {
     DiscoFeature f = new DiscoFeature();
     AddChild(f);
     return f;
 }
Esempio n. 5
0
 /// <summary>
 /// Gets all Features
 /// </summary>
 /// <returns></returns>
 public DiscoFeature[] GetFeatures()
 {
     ElementList nl = SelectElements(typeof(DiscoFeature));
     DiscoFeature[] items = new DiscoFeature[nl.Count];
     int i = 0;
     foreach (Element e in nl)
     {
         items[i] = (DiscoFeature) e;
         i++;
     }
     return items;
 }
Esempio n. 6
0
 public void AddFeature(DiscoFeature f)
 {
     AddChild(f);
 }