private void ListenForOutput(IModConfig config) { var listener = new OutputListener(config); listener.OnOutput += Console.Write; listener.Start(); }
private void ListenForOutput() { _listener.OnOutput += OnOutput; _listener.Start(); }