public override ElementBase CreateFirstChild() { if (this.IsEmpty) { return(null); } return(ActionElement.Create(Context, Content, this, ActionEnumerator.Current)); }
public override ElementBase CreateNextElement() { var enumerator = ((ActionsElement)Parent).ActionEnumerator; var hasNextAction = enumerator.MoveNext(); if (!hasNextAction) { return(null); } return(ActionElement.Create(Context, Content, Parent, enumerator.Current)); }