Ejemplo n.º 1
0
 public void AddFeature(DiscoFeature f)
 {
     AddChild(f);
 }
Ejemplo 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;
 }
Ejemplo n.º 3
0
 public DiscoFeature AddFeature()
 {
     DiscoFeature f = new DiscoFeature();
     AddChild(f);
     return f;
 }