Esempio 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());
        }
Esempio 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());
 }