示例#1
0
        private void ListenForOutput(IModConfig config)
        {
            var listener = new OutputListener(config);

            listener.OnOutput += Console.Write;
            listener.Start();
        }
示例#2
0
文件: App.cs 项目: misternebula/owml
 private void ListenForOutput()
 {
     _listener.OnOutput += OnOutput;
     _listener.Start();
 }