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

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

            DispatcherThread.Start();
        }