public DocumentsController(IDocumentService documentService, IDocumentTypeService documentTypeService, IWorkFlowExecutorService workFlowExecutorService, IDocumentCategoryService documentCategoryService) { _documentService = documentService; _documentTypeService = documentTypeService; _workFlowExecutorService = workFlowExecutorService; _documentCategoryService = documentCategoryService; }
/// <summary> /// Constructor /// </summary> /// <param name="entry"></param> /// <param name="currentTransition"></param> /// <param name="nextTransitions"></param> protected BaseWorkFlowAction(EntryState entry, Transition currentTransition, IEnumerable <Transition> nextTransitions) { EntryState = entry; CurrentTransition = currentTransition; NextTransitions = nextTransitions; Executor = IoC.Resolve <IWorkFlowExecutorService>(); }
/// <summary> /// Constructor /// </summary> /// <param name="context"></param> /// <param name="workFlowExecutorService"></param> /// <param name="crmPipeLineService"></param> /// <param name="teamService"></param> /// <param name="mapper"></param> /// <param name="notify"></param> public CrmLeadService(ILeadContext <Lead> context, IWorkFlowExecutorService workFlowExecutorService, ICrmPipeLineService crmPipeLineService, ICrmTeamService teamService, IMapper mapper, INotify <GearRole> notify) { _context = context; _workFlowExecutorService = workFlowExecutorService; _crmPipeLineService = crmPipeLineService; _teamService = teamService; _mapper = mapper; _notify = notify; }
public DocumentWithWorkflowService(IDocumentContext documentContext, IUserManager <GearUser> userManager, IFileManager fileManager, IWorkFlowExecutorService workFlowExecutorService, IDataFilter dataFilter) : base(documentContext, userManager, fileManager, dataFilter) { WorkFlowExecutorService = workFlowExecutorService; }
public WorkFlowExecutorController(IWorkFlowExecutorService workFlowExecutorService) { _workFlowExecutorService = workFlowExecutorService; }