public void Handle(RevisionCreatedLocalMessage message) { _logger.InfoFormat("Parsing comment. Revision ID: {0}", message.Dto.SourceControlID); var commentParser = new CommentParser(); var actions = commentParser.ParseAssignToEntityAction(message.Dto); var actionParamFiller = new ActionParameterFillerVisitor(message.Dto); foreach (var action in actions) { action.Execute(actionParamFiller, x => _bus.SendLocal(action), _logger); } }
private bool ContainsEntityId(RevisionInfo revisionInfo) { return(!_parser.ParseAssignToEntityAction(revisionInfo).Empty()); }