Example #1
0
        private void addOption(List <IMenuOption> options, string displayTitle, MethodToExecute methodToExecute)
        {
            IMenuOption option = new MenuOption(displayTitle, methodToExecute);

            addOption(options, option);
        }
Example #2
0
        private void addOption(List <IMenuOption> options, string displayTitle, IMenu menuToOpen)
        {
            IMenuOption option = new MenuOption(displayTitle, menuToOpen);

            addOption(options, option);
        }