コード例 #1
0
 public WorkItemService(
     TContext context,
     ILogger <WorkItemService <TContext> > logger
     )
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
     _logger  = logger;
 }
コード例 #2
0
 public WorkflowEngine(
     TContext context,
     ILogger <WorkflowEngine <TContext> > logger,
     IWorkflowDefinitionProvider workflowDefinitionProvider
     )
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
     _logger  = logger;
     _workflowDefinitionProvider = workflowDefinitionProvider;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
ファイル: EfRepository.cs プロジェクト: rammybt/microwf
 public EfRepository(EngineDbContext dbContext)
 {
     this.DbContext = dbContext;
 }