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

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

            foreach (Element e in nl)
            {
                items[i] = (DiscoFeature)e;
                i++;
            }
            return(items);
        }
Example #3
0
 public void AddFeature(DiscoFeature f)
 {
     this.AddChild(f);
 }