Exemple #1
0
        public MenuUpdater Move(Func <MoveAction, MoveAction> moveAction)
        {
            var action = MenuMover.Create();
            var result = moveAction(action);

            moveQueue.Add(result.Mover);
            return(this);
        }
Exemple #2
0
 public MoveAction(MenuMover mover)
 {
     this.mover = mover;
 }
Exemple #3
0
 public MenuUpdater Move(MenuMover mover)
 {
     moveQueue.Add(mover);
      return this;
 }
Exemple #4
0
 public static MoveAction Create()
 {
     var mover = new MenuMover();
      return new MoveAction(mover);
 }
Exemple #5
0
 public MoveAction(MenuMover mover)
 {
     this.mover = mover;
 }
Exemple #6
0
        }                           // Move all recipes in source menu to targetMenu

        public static MoveAction Create()
        {
            var mover = new MenuMover();

            return(new MoveAction(mover));
        }
Exemple #7
0
 public MenuUpdater Move(MenuMover mover)
 {
     moveQueue.Add(mover);
     return(this);
 }