PreLoad() 공개 메소드

public PreLoad ( ) : void
리턴 void
예제 #1
0
파일: Program.cs 프로젝트: frapid/frapid
        private static void Main(string[] args)
        {
            var loader = new AssemblyLoader();
            loader.PreLoad();

            bool exit = false;

            string command;

            if (args != null &&
                args.Any())
            {
                command = string.Join(" ", args);
                CommandProcessor.Process(command);
                exit = true;
            }

            while (!exit)
            {
                command = FrapidConsole.ReadLine();
                exit = GotQuitSignalFrom(command);
                command = CheckClearSignal(command);

                if (!exit)
                {
                    CommandProcessor.Process(command);
                }
            }
        }
예제 #2
0
        private static void Main(string[] args)
        {
            ConsolePathMapper.SetPathToRoot();
            Console.OutputEncoding = Encoding.UTF8;

            var loader = new AssemblyLoader();

            loader.PreLoad();

            bool exit = false;

            string command;

            if (args != null &&
                args.Any())
            {
                command = string.Join(" ", args);
                CommandProcessor.Process(command);
                exit = true;
            }

            while (!exit)
            {
                command = FrapidConsole.ReadLine();
                exit    = GotQuitSignalFrom(command);
                command = CheckClearSignal(command);

                if (!exit)
                {
                    CommandProcessor.Process(command);
                }
            }
        }