Пример #1
0
        private void ListenForOutput(IModConfig config)
        {
            var listener = new OutputListener(config);

            listener.OnOutput += Console.Write;
            listener.Start();
        }
Пример #2
0
 private void ListenForOutput()
 {
     _listener.OnOutput += OnOutput;
     _listener.Start();
 }