Beispiel #1
0
 public MenuFlowStateChangeDirection Direction(MenuFlowStateChangeDirectionType direction)
 {
     return(new MenuFlowStateChangeDirection(from, direction));
 }
Beispiel #2
0
 private List <MenuFlowStateChangeOption> getStateChangeOptions(MenuFlowStateChangeDirectionType direction)
 {
     changeDirection = MenuFlowStateChangeDirectionBuilder.From(currentState).Direction(direction);
     return(MenuFlowStateChanges.GetChangeOptions(changeDirection));
 }
Beispiel #3
0
 public MenuFlowStateChangeDirection(MenuState from, MenuFlowStateChangeDirectionType direction)
 {
     this.from      = from;
     this.direction = direction;
 }
Beispiel #4
0
    public void Direction(MenuFlowStateChangeDirectionType direction)
    {
        List <MenuFlowStateChangeOption> options = getStateChangeOptions(direction);

        applyFirstValidOption(options);
    }
 public MenuFlowStateChangeDirection Direction(MenuFlowStateChangeDirectionType direction)
 {
     return new MenuFlowStateChangeDirection(from, direction);
 }
 public MenuFlowStateChangeDirection(MenuState from, MenuFlowStateChangeDirectionType direction)
 {
     this.from = from;
     this.direction = direction;
 }
 private List<MenuFlowStateChangeOption> getStateChangeOptions(MenuFlowStateChangeDirectionType direction)
 {
     changeDirection = MenuFlowStateChangeDirectionBuilder.From(currentState).Direction(direction);
     return MenuFlowStateChanges.GetChangeOptions(changeDirection);
 }
 public void Direction(MenuFlowStateChangeDirectionType direction)
 {
     List<MenuFlowStateChangeOption> options = getStateChangeOptions(direction);
     applyFirstValidOption(options);
 }