public PurchaseOrderService(
     IPurchaseOrderRepository purchaseOrderRepository,
     IPurchaseOrderDetailRepository purchaseOrderDetailRepository,
     IPurchaseTypeRepository purchaseTypeRepository,
     IPaymentTypeRepository paymentTypeRepository,
     ISupplierRepository supplierRepository,
     IProductRepository productRepository,
     IArrivalNoticeRepository arrivalNoticeRepository,
     IWorkflowActivityService workflowActivityService,
     IUsersRepository usersRepository,
     IIdGenerator <PurchaseOrder, string> purchaseOrderIdGenerator,
     IUnitOfWork uow
     )
 {
     this._purchaseOrderRepository       = purchaseOrderRepository;
     this._purchaseOrderDetailRepository = purchaseOrderDetailRepository;
     this._purchaseTypeRepository        = purchaseTypeRepository;
     this._paymentTypeRepository         = paymentTypeRepository;
     this._supplierRepository            = supplierRepository;
     this._productRepository             = productRepository;
     this._arrivalNoticeRepository       = arrivalNoticeRepository;
     this._workflowActivityService       = workflowActivityService;
     this._usersRepository          = usersRepository;
     this._purchaseOrderIdGenerator = purchaseOrderIdGenerator;
     this._uow = uow;
 }
 public ArrivalNoticeService(
     IArrivalNoticeRepository arrivalNoticeRepository,
     IArrivalNoticeDetailRepository purchaseNoticeDetailRepository,
     IArrivalReceiptService arrivalReceiptService,
     IWorkflowActivityService workflowActivityService,
     IUnitOfWork uow
     )
 {
     this._arrivalNoticeRepository       = arrivalNoticeRepository;
     this._arrivalNoticeDetailRepository = purchaseNoticeDetailRepository;
     this._arrivalReceiptService         = arrivalReceiptService;
     this._workflowActivityService       = workflowActivityService;
     this._uow = uow;
 }
        public ArrivalReceiptTest()
        {
            IUnitOfWork uow = new NHUnitOfWork();

            this._arrivalReceiptRepository       = new ArrivalReceiptRepository(uow);
            this._arrivalReceiptDetailRepository = new ArrivalReceiptDetailRepository(uow);
            this._arrivalReceiptService          = new ArrivalReceiptService(this._arrivalReceiptRepository, this._arrivalReceiptDetailRepository, uow);

            this._workflowActivityService = new WorkflowActivityService(null, uow);

            this._arrivalNoticeRepository       = new ArrivalNoticeRepository(uow);
            this._arrivalNoticeDetailRepository = new ArrivalNoticeDetailRepository(uow);
            this._arrivalNoticeService          = new ArrivalNoticeService(this._arrivalNoticeRepository, this._arrivalNoticeDetailRepository, this._arrivalReceiptService, this._workflowActivityService, uow);


            AutoMapperBootStrapper.ConfigureAutoMapper();
        }
Пример #4
0
 public WorkflowStartService(ILogger logger, IWorkflowInstanceService workflowInstanceService, IWorkflowArgumentMapper workflowArgumentMapper,
                             IWorkflowInstanceRoleService workflowInstanceRoleService, IWorkflowActivityService workflowActivityService,
                             ITopicService topicServiceBus, ICQRSMessageMapper mapper_eventServiceBusMessage,
                             IDataUnitOfWork unitOfWork, StorageDocument.IDocumentContext <ModelDocument.Document, ModelDocument.ArchiveDocument> documentService,
                             ICollaborationService collaborationService, ISecurity security, IParameterEnvService parameterEnvService, IFascicleRoleService fascicleRoleService,
                             IMessageService messageService, IDossierRoleService dossierRoleService, IQueueService queueService, IWordOpenXmlDocumentGenerator wordOpenXmlDocumentGenerator,
                             IMessageConfiguration messageConfiguration, IProtocolLogService protocolLogService, IPDFDocumentGenerator pdfDocumentGenerator,
                             IFascicleService fascicleService, IFascicleDocumentService fascicleDocumentService, IFascicleFolderService fascicleFolderService,
                             IFascicleDocumentUnitService fascDocumentUnitService, IFascicleLinkService fascicleLinkService)
     : base(logger, workflowInstanceService, workflowInstanceRoleService, workflowActivityService, topicServiceBus, mapper_eventServiceBusMessage,
            unitOfWork, documentService, collaborationService, security, parameterEnvService, fascicleRoleService, messageService, dossierRoleService, queueService,
            wordOpenXmlDocumentGenerator, messageConfiguration, protocolLogService, pdfDocumentGenerator, fascicleService, fascicleDocumentService, fascicleFolderService,
            fascDocumentUnitService, fascicleLinkService)
 {
     _unitOfWork = unitOfWork;
     _workflowInstanceService = workflowInstanceService;
     _workflowArgumentMapper  = workflowArgumentMapper;
     _documentService         = documentService;
 }
 public WorkflowUserActivityService(IWorkflowActivityService workflowActivity)
 {
     _workflowActivityService = workflowActivity;
 }
Пример #6
0
 public WorkflowActivityConsumer(IWorkflowActivityService workflowActivityService)
 {
     _workflowActivityService = workflowActivityService;
 }
 public RoutingSlipStartedConsumer(IWorkflowActivityService workflowActivityService)
 {
     _workflowActivityService = workflowActivityService;
 }
 public WorkflowCompanyActivityService(IWorkflowActivityService workflowActivity)
 {
     _workflowActivityService = workflowActivity;
 }
 public Office365TransitionDeletePartnerPlatformUserObserver(IWorkflowActivityService workflowActivityService)
 {
     _workflowActivityService = workflowActivityService;
 }
Пример #10
0
 public CreateUserWorkflowActivityController(IWorkflowActivityService workflowActivityService)
 {
     _workflowActivityService = workflowActivityService;
 }
Пример #11
0
 public WorkflowOffice365ActivityService(IWorkflowActivityService workflowActivity)
 {
     _workflowActivityService = workflowActivity;
 }
Пример #12
0
 public Office365ManageSubscriptionsAndLicencesObserver(IWorkflowActivityService workflowActivityService)
 {
     _workflowActivityService = workflowActivityService;
 }