public MainWindow() { _logger = new Logger("FakeTenhouServer", 100); _logger.Log("Starting"); _server = StartServer(); UpdateStatus(); InitializeComponent(); }
private Server StartServer() { var server = new Server(PrefixLocalhost.Yield().ToArray(), Listener, _logger); server.Run(); return server; }