Beispiel #1
0
        private void DrawFooter()
        {
            int position = Console.CursorTop;
            int height   = 2;

            ConsoleBasicDraw.DrawFlatBox(position, height, ConsoleColor.White);
        }
Beispiel #2
0
        public override bool Manager()
        {
            string[] constructors = MetaExplorer.GetConstructors(this.type);
            this.DrawListBox("Constructors", constructors);
            string[] fields = MetaExplorer.GetFields(this.type);
            this.DrawListBox("Fields", fields);
            string[] properties = MetaExplorer.GetProperties(this.type);
            this.DrawListBox("Properties", properties);
            string[] methods = MetaExplorer.GetMethods(this.type);
            this.DrawListBox("Methods", methods);
            string[] events = MetaExplorer.GetEvents(this.type);
            this.DrawListBox("Events", events);

            ConsoleBasicDraw.DrawFlatBox(Console.CursorTop, 2, ConsoleColor.White);
            ConsoleBasicDraw.DrawFlatText("Press any key to go back.", Console.CursorTop, ConsoleColor.Blue,
                                          ConsoleColor.White);

            Console.ReadKey();
            return(false);
        }