示例#1
0
 public Task<ChatMessage> SendMessage(ChatMessage message)
 {
     return _proxy.Invoke<ChatMessage>("SendMessage", message);
 }
示例#2
0
 public Task<object> SendMessage(string userName, ChatMessage chatMessage)
 {
     return _proxy.Invoke<object>("SendMessage", userName, chatMessage);
 }
示例#3
0
 private void OnMessageReceived(UserDetail sender, ChatMessage message)
 {
     _context.Post(_ => MessageReceived(sender, message), null);
 }