Exemplo n.º 1
0
        public DiscoFeature AddFeature()
        {
            var f = new DiscoFeature();

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