Example #1
0
        public DiscoFeature AddFeature()
        {
            var f = new DiscoFeature();

            AddChild(f);
            return(f);
        }
Example #2
0
        /// <summary>
        ///   Gets all Features
        /// </summary>
        /// <returns> </returns>
        public DiscoFeature[] GetFeatures()
        {
            ElementList nl    = SelectElements(typeof(DiscoFeature));
            var         items = new DiscoFeature[nl.Count];
            int         i     = 0;

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