Example #1
0
        void Given(MessageAccepted e)
        {
            var sb = new StringBuilder();

            sb.Append(e.UserId);
            sb.Append(": ");
            sb.Append(e.Message);
            Messages.Add(sb.ToString());
        }
Example #2
0
 protected virtual void OnMessageAccepted(object source)
 {
     MessageAccepted?.Invoke(source, EventArgs.Empty);
 }
Example #3
0
 static Id Route(MessageAccepted e) => e.LobbyId;