public WorkflowService( IWorkflowDefinitionProvider workflowDefinitionProvider, IUserWorkflowMappingService userWorkflowMappingService, IWorkflowDefinitionViewModelCreator viewModelCreator ) { _workflowDefinitionProvider = workflowDefinitionProvider; _userWorkflowMappingService = userWorkflowMappingService; _viewModelCreator = viewModelCreator; }
public WorkflowService( IWorkflowRepository repository, IWorkflowDefinitionProvider workflowDefinitionProvider, IUserWorkflowMappingService userWorkflowMappingService, IWorkflowDefinitionDtoCreator dtoCreator ) { this.repository = repository ?? throw new ArgumentNullException(nameof(repository)); this.workflowDefinitionProvider = workflowDefinitionProvider; this.userWorkflowMappingService = userWorkflowMappingService; this.viewModelCreator = dtoCreator; }
public WorkflowService( TContext context, ILogger <WorkflowService <TContext> > logger, IWorkflowDefinitionProvider workflowDefinitionProvider, IUserWorkflowMappingService userWorkflowMappingService, IWorkflowDefinitionViewModelCreator viewModelCreator, IUserContextService userContext ) { _context = context ?? throw new ArgumentNullException(nameof(context)); _logger = logger; _workflowDefinitionProvider = workflowDefinitionProvider; _userWorkflowMappingService = userWorkflowMappingService; _viewModelCreator = viewModelCreator; _userContext = userContext; }