private void MessageReceived(object sender, MessageReceivedHandlerArgs args)
 {
     _dotNetChatViewModel.AddChatEntry(new ChatEntryViewModel(args.Name, args.Content));
 }
Esempio n. 2
0
 private void OnMessageReceived(MessageReceivedHandlerArgs args)
 {
     MessageReceivedHandler handler = MessageReceived;
     if (handler != null) handler(this, args);
 }