public CommandController(ICommandDeserialize commandDeserialize, IBusPublisher busPublisher, ICostCentreApplicationService costCentreApplicationService, ICommandProcessingAuditRepository commandProcessingAuditRepository) { _commandDeserialize = commandDeserialize; _busPublisher = busPublisher; _costCentreApplicationService = costCentreApplicationService; _commandProcessingAuditRepository = commandProcessingAuditRepository; }
public SubscriberMessageHandler(ICommandRoutingOnRequestRepository commandRoutingOnRequestRepository, ICommandRoutingOnRequestResolver commandRoutingOnRequestResolver, IRunCommandOnRequestInHostedEnvironment runCommandOnRequestInHostedEnvironment, ICommandDeserialize commandDeserialize, ISubscriberCommandExecutionGuard subscriberCommandExecutionGuard, ICommandProcessingAuditRepository commandProcessingAuditRepository, ICCAuditRepository auditRepository, IDocumentHelper documentHelper, ICommandEnvelopeRouteOnRequestCostcentreRepository commandEnvelopeRouteOn, ICommandEnvelopeProcessingAuditRepository envelopeProcessingAuditRepository) { _commandRoutingOnRequestRepository = commandRoutingOnRequestRepository; _commandRoutingOnRequestResolver = commandRoutingOnRequestResolver; _runCommandOnRequestInHostedEnvironment = runCommandOnRequestInHostedEnvironment; _commandDeserialize = commandDeserialize; //_busPublisher = busPublisher; _subscriberCommandExecutionGuard = subscriberCommandExecutionGuard; _commandProcessingAuditRepository = commandProcessingAuditRepository; _auditRepository = auditRepository; _documentHelper = documentHelper; _commandEnvelopeRouteOn = commandEnvelopeRouteOn; _envelopeProcessingAuditRepository = envelopeProcessingAuditRepository; }
//ILog _logger = LogManager.GetLogger("DeserializeJson"); public DeserializeJson(ICommandDeserialize commandDeserialize) { _commandDeserialize = commandDeserialize; }