public void Handle() { var dto = new MessageDto { name = "master", message = "i am master" }; _notifyHub.UserIds.AddRange(new string[] { "admin", "user1" }); _notifyHub.Value = dto; _notifyHub.Ports.Add <ChatApp>(x => x.Recive(default(MessageDto))); _notifyHub.Send(); }
public NotifyArraival Recive(MessageDto dto) => NotifyArraival.Standby();