Пример #1
0
        void Given(MessageAccepted e)
        {
            var sb = new StringBuilder();

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