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