Ejemplo n.º 1
0
        /// <summary>Gets the enumerator for the trie.</summary>
        /// <returns>The enumerator for the trie.</returns>
        public System.Collections.Generic.IEnumerator <Action <Action <T> > > GetEnumerator()
        {
            IList <Action <Action <T> > > list = new ListLinked <Action <Action <T> > >();

            Stepper(x => list.Add(x));
            return(list.GetEnumerator());
        }
Ejemplo n.º 2
0
 /// <inheritdoc/>
 public System.Collections.Generic.IEnumerator <Action <Action <T> > > GetEnumerator()
 {
                 #warning TODO: optimize
     IList <Action <Action <T> > > list = new ListLinked <Action <Action <T> > >();
     this.Stepper(x => list.Add(x));
     return(list.GetEnumerator());
 }