Exemplo n.º 1
0
 public void Handle(ReplyMessagePublished evt)
 {
 }
Exemplo n.º 2
0
 private void When(ReplyMessagePublished evt)
 {
     Id = evt.ReplyId;
 }
 public TimelineMessageProjection(UserId ownerId, ReplyMessagePublished evt)
     : this(ownerId, evt.Replier, evt.ReplyContent, evt.ReplyId)
 {
 }
Exemplo n.º 4
0
        public void Reply(IEventPublisher eventPublisher, UserId replier, string replyContent)
        {
            var evt = new ReplyMessagePublished(MessageId.Generate(), replier, replyContent, _projection.Id);

            eventPublisher.Publish(evt);
        }
Exemplo n.º 5
0
 public MessageDescription(ReplyMessagePublished evt)
     : this(evt.Replier, evt.ReplyContent)
 {
 }