コード例 #1
0
 public void Handle(CommentCreatedMessage message)
 {
     SendLocal(new CommentCreatedMessageInternal {
         SagaId = Data.OuterSagaId, Comment = Data.Comment
     });
     MarkAsComplete();
 }
コード例 #2
0
        public void Handle(CommentCreatedMessage message)
        {
            Data.CreatedCommentsCount++;
            StorageRepository().Get <CommentDTO>(message.Dto.GeneralID.ToString()).Add(message.Dto);
            DoNotContinueDispatchingCurrentMessageToHandlers();

            CompleteSagaIfNecessary();
        }
 public void Handle(CommentCreatedMessage message)
 {
     AddCommentIndex(message.Dto);
 }