public void Handle(Say cmd) { Send(cmd.User, $"{cmd.User} said: {cmd.Message}"); }
Task On(Say x) => Send(x.Room, $"{Id} said: {x.Message}");
static void Main(string[] args) { Console.WriteLine(Say.Hello(args.Length > 0 ? args[0] : null)); }
public void Handle(Say cmd) { Send(cmd.User, string.Format("{0} said: {1}", cmd.User, cmd.Message)); }