예제 #1
0
        static Console()
        {
            DispatcherThread = new Thread(() =>
            {
                _consoleUi = new ConsoleUi("Test harness");
                new Application().Run(_consoleUi);
            });

            DispatcherThread.Start();
        }
예제 #2
0
        static Console()
        {
            DispatcherThread = new Thread(() =>
                                    {
                                        _consoleUi = new ConsoleUi("Test harness");
                                        new Application().Run(_consoleUi);
                                    });

            DispatcherThread.Start();
        }