void Given(MessageAccepted e) { var sb = new StringBuilder(); sb.Append(e.UserId); sb.Append(": "); sb.Append(e.Message); Messages.Add(sb.ToString()); }
protected virtual void OnMessageAccepted(object source) { MessageAccepted?.Invoke(source, EventArgs.Empty); }
static Id Route(MessageAccepted e) => e.LobbyId;