Exemplo n.º 1
0
 public void Submit(
     ChatMessageId id,
     Sender sender,
     MessageContents contents,
     Instant time,
     ChannelId channel
     ) =>
 Then(new MessageSubmitted(id, sender, contents, time, channel));
Exemplo n.º 2
0
 public void Edit(Sender sender, MessageContents newContents,
                  Instant time) =>
 Then(new MessageEdited(sender, newContents, time, _channelId, Id));