public void Execute(MessageDTO dto, AttachmentDTO[] attachments, int[] requesters) { foreach (var thenClause in _clauses) { thenClause.Execute(dto, attachments, requesters); } }
public override void Execute(MessageDTO dto, AttachmentDTO[] attachments) { var command = new CreateRequestFromMessageCommand { MessageDto = dto, ProjectId = _projectId, Attachments = attachments, IsPrivate = false }; _bus.SendLocal(command); }
public override void Execute(MessageDTO dto, AttachmentDTO[] attachments, int[] requesters) { var command = new CreateRequestFromMessageCommand { MessageDto = dto, ProjectId = _projectId, Attachments = attachments, Requesters = requesters, IsPrivate = _isPrivate, SquadId = _squadId }; _bus.SendLocal(command); }
public abstract void Execute(MessageDTO dto, AttachmentDTO[] attachments);
public abstract void Execute(MessageDTO dto, AttachmentDTO[] attachments, int[] requesters);
public override void Execute(MessageDTO dto, AttachmentDTO[] attachments, int[] requesters) { _bus.SendLocal(new AttachMessageToProjectCommand {MessageDto = dto, ProjectId = _projectId}); }
public void Execute(MessageDTO dto, AttachmentDTO[] attachments) { _thenClause.Execute(dto, attachments); }
public void Execute(MessageDTO dto, AttachmentDTO[] attachments, int[] requesters) { _thenClause.Execute(dto, attachments, requesters); }