Example #1
0
        // $G$ CSS-010 (-3) Private method should start with a lower case letter.
        private static void BeginTests()
        {
            int MenuDepth = 1;

            TestInterface testInterface = new TestInterface();

            Interfaces.MainMenu interfaceMainMenu = testInterface.BuildMenu();
            testInterface.LoopMenu(interfaceMainMenu, MenuDepth);

            TestDelegates testDelegates = new TestDelegates();

            Delegates.MainMenu delegatesMainMenu = testDelegates.BuildMenu();
            testDelegates.LoopMenu(delegatesMainMenu, MenuDepth);

            Console.WriteLine("Menu Closed");
            Console.Read();
        }
Example #2
0
        public static void Main()
        {
            TestInterfaces.GenerateMenus().OnSelected();

            TestDelegates.GenerateMenus().OnSelected();
        }