public void MessageHandler(object sender, MessageEventArgs args)
 {
     WriteToOutputString(args.Message);
 }
Пример #2
0
 public void TargetMessageHandler(object sender, MessageEventArgs args)
 {
     //MessageEvent(args.Message);
 }
Пример #3
0
 public void MessageEvent(string msg)
 {
     MessageEventArgs arg = new MessageEventArgs(msg);
     Task.Factory.StartNew(() => CharacterMessage(this, arg));
 }
Пример #4
0
 public void MessageHandler(object sender, MessageEventArgs args)
 {
     Task.Factory.StartNew(() => Message(this, args));
 }