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

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

            addOption(options, option);
        }