public BaseCommonExecutor(ILogger logger, IWebAPIClient webApiClient, BiblosDS.BiblosClient biblosClient, ServiceBus.ServiceBusClient serviceBusClient) { _webApiClient = webApiClient; _biblosClient = biblosClient; _serviceBusClient = serviceBusClient; _logger = logger; _workflowActionExecutors = new Dictionary <Type, IWorkflowActionExecutor>(); IWorkflowActionFascicleExecutor workflowActionFascicleExecutor = new WorkflowActionFascicleExecutor(logger, webApiClient); IWorkflowActionDocumentUnitLinkExecutor workflowActionDocumentUnitLinkExecutor = new WorkflowActionDocumentUnitLinkExecutor(logger, webApiClient); IWorkflowActionFascicleCloseExecutor workflowActionFascicleCloseExecutor = new WorkflowActionFascicleCloseExecutor(logger, webApiClient); IWorkflowActionAggregationExecutor workflowActionAggregationExecutor = new WorkflowActionAggregationExecutor(logger, webApiClient, () => _workflowActionExecutors); IWorkflowActionShareDocumentUnitModelExecutor workflowActionShareDocumentUnitModelExecutor = new WorkflowActionShareDocumentUnitModelExecutor(logger, webApiClient); _workflowActionExecutors.Add(typeof(WorkflowActionFascicleModel), workflowActionFascicleExecutor); _workflowActionExecutors.Add(typeof(WorkflowActionDocumentUnitLinkModel), workflowActionDocumentUnitLinkExecutor); _workflowActionExecutors.Add(typeof(WorkflowActionFascicleCloseModel), workflowActionFascicleCloseExecutor); _workflowActionExecutors.Add(typeof(WorkflowActionAggregationExecutor), workflowActionAggregationExecutor); _workflowActionExecutors.Add(typeof(WorkflowActionShareDocumentUnitModel), workflowActionShareDocumentUnitModelExecutor); }
public PECMailContentTypeExecutor(ILogger logger, IWebAPIClient webApiClient, BiblosClient biblosClient, ServiceBus.ServiceBusClient serviceBusClient) : base(logger, webApiClient, biblosClient, serviceBusClient) { _logger = logger; _webApiClient = webApiClient; _biblosClient = biblosClient; }
public Execution(ILogger logger, IWebAPIClient webApiClient, BiblosDS.BiblosClient biblosClient, ServiceBus.ServiceBusClient serviceBusClient) : base(logger, webApiClient, biblosClient, serviceBusClient) { }
public DossierContentTypeExecutor(ILogger logger, IWebAPIClient webApiClient, BiblosClient biblosClient, ServiceBus.ServiceBusClient serviceBusClient) : base(logger, webApiClient, biblosClient, serviceBusClient) { _logger = logger; }
public CQRSBaseExecution(ILogger logger, IWebAPIClient webApiClient, BiblosDS.BiblosClient biblosClient, ServiceBus.ServiceBusClient serviceBusClient) { _logger = logger; _webApiClient = webApiClient; _biblosClient = biblosClient; _commandExecutors = new Dictionary <Type, IBaseCommonExecutor>(); IProtocolContentTypeExecutor protocolContentTypeExecutor = new ProtocolContentTypeExecutor(logger, webApiClient, biblosClient, serviceBusClient); IResolutionContentTypeExecutor resolutionContentTypeExecutor = new ResolutionContentTypeExecutor(logger, webApiClient, biblosClient, serviceBusClient); IDocumentSeriesItemContentTypeExecutor documentSeriesItemContentTypeExecutor = new DocumentSeriesItemContentTypeExecutor(logger, webApiClient, biblosClient, serviceBusClient); IUDSContentTypeExecutor udsContentTypeExecutor = new UDSContentTypeExecutor(logger, webApiClient, biblosClient, serviceBusClient); IPECMailContentTypeExecutor pecContentTypeExecutor = new PECMailContentTypeExecutor(logger, webApiClient, biblosClient, serviceBusClient); IFascicleContentTypeExecutor fascicleContentTypeExecutor = new FascicleContentTypeExecutor(logger, webApiClient, biblosClient, serviceBusClient); IMessageContentTypeExecutor messageContentTypeExecutor = new MessageContentTypeExecutor(logger, webApiClient, biblosClient, serviceBusClient); ICollaborationContentTypeExecutor collaborationContentTypeExecutor = new CollaborationContentTypeExecutor(logger, webApiClient, biblosClient, serviceBusClient); ICategoryFascicleContentTypeExecutor categoryFascicleContentTypeExecutor = new CategoryFascicleContentTypeExecutor(logger, webApiClient, biblosClient, serviceBusClient); IFascicleDocumentUnitContentTypeExecutor fascicleDocumentUnitContentTypeExecutor = new FascicleDocumentUnitContentTypeExecutor(logger, webApiClient, biblosClient, serviceBusClient); IDossierContentTypeExecutor dossierContentTypeExecutor = new DossierContentTypeExecutor(logger, webApiClient, biblosClient, serviceBusClient); _commandExecutors.Add(typeof(Protocol), protocolContentTypeExecutor); _commandExecutors.Add(typeof(ResolutionModel), resolutionContentTypeExecutor); _commandExecutors.Add(typeof(DocumentSeriesItem), documentSeriesItemContentTypeExecutor); _commandExecutors.Add(typeof(UDSBuildModel), udsContentTypeExecutor); _commandExecutors.Add(typeof(PECMail), pecContentTypeExecutor); _commandExecutors.Add(typeof(Fascicle), fascicleContentTypeExecutor); _commandExecutors.Add(typeof(Message), messageContentTypeExecutor); _commandExecutors.Add(typeof(Collaboration), collaborationContentTypeExecutor); _commandExecutors.Add(typeof(CategoryFascicle), categoryFascicleContentTypeExecutor); _commandExecutors.Add(typeof(FascicleDocumentUnit), fascicleDocumentUnitContentTypeExecutor); _commandExecutors.Add(typeof(Dossier), dossierContentTypeExecutor); }
public Listener(MessageReceiver receiver, ILogger logger, IWebAPIClient webApiClient, BiblosDS.BiblosClient biblosClient, ServiceBus.ServiceBusClient serviceBusClient) : base(receiver, logger, new Execution(logger, webApiClient, biblosClient, serviceBusClient), string.Empty, webApiClient, commandNameFilterEnabled: false) { }
public FascicleDocumentUnitContentTypeExecutor(ILogger logger, IWebAPIClient webApiClient, BiblosClient biblosClient, ServiceBus.ServiceBusClient serviceBusClient) : base(logger, webApiClient, biblosClient, serviceBusClient) { _logger = logger; _webApiClient = webApiClient; _biblosClient = biblosClient; }