public WorkItemService( TContext context, ILogger <WorkItemService <TContext> > logger ) { _context = context ?? throw new ArgumentNullException(nameof(context)); _logger = logger; }
public WorkflowEngine( TContext context, ILogger <WorkflowEngine <TContext> > logger, IWorkflowDefinitionProvider workflowDefinitionProvider ) { _context = context ?? throw new ArgumentNullException(nameof(context)); _logger = logger; _workflowDefinitionProvider = workflowDefinitionProvider; }
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; }
public EfRepository(EngineDbContext dbContext) { this.DbContext = dbContext; }