private void resetRepositories() { _tasksRepository = null; _flowRepository = null; _stateRepository = null; _taskHistoryRepository = null; }
public TransferFlowController(IMapper mapper, IFlowRepository repository, IUnitOfWork unitOfWork, IOptions <AppSettings> appSettings) { _mapper = mapper; _repository = repository; _unitOfWork = unitOfWork; _appSettings = appSettings.Value; }
public UnitOfWork( IFlowRepository flowRepository, IStateRepository stateRepository, ITaskRepository taskRepository, StateManagementContext stateManagementContext) { FlowRepository = flowRepository; StateRepository = stateRepository; _stateManagementContext = stateManagementContext; TaskRepository = taskRepository; }
/// <summary> /// </summary> public FlowExtension(IFlowRepository flowRepository) { this.flowRepository = flowRepository; }
/// <summary> /// </summary> public FlowStore(IFlowRepository repository) { this.repository = repository; }
public FlowService(IFlowRepository flowRepository) { _flowRepository = flowRepository; }
public MaterialController(IFlowRepository flowRepository) { _flowRepository = flowRepository; }
public FlowRepositoryTest() { flowRepository = (IFlowRepository)MockStatic.GetMock(); }
public FlowController(ILogger <FlowController> logger, IMailService mailService, IFlowRepository flowRepository) { _log = logger; _mailService = mailService; _flowRepository = flowRepository; }
public Engine(string name, IFlowRepository FlowRepository) { this.FlowRepository = FlowRepository; this.Name = name; }
public FlowCommandHandler(IFlowRepository flowRepository, ILoggingService loggingService) { _flowRepository = flowRepository; _loggingService = loggingService; }
/// <summary> /// Enables Tapeti Flow. /// </summary> /// <param name="config"></param> /// <param name="flowRepository">An optional IFlowRepository implementation to persist flow state. If not provided, flow state will be lost when the application restarts.</param> /// <returns></returns> public static ITapetiConfigBuilder WithFlow(this ITapetiConfigBuilder config, IFlowRepository flowRepository = null) { config.Use(new FlowExtension(flowRepository)); return(config); }
public FlowMiddleware(IFlowRepository flowRepository) { this.flowRepository = flowRepository; }
public Engine(string name, IFlowRepository flowRepository, IGraphRepository graphRepository = null) { this.FlowRepository = flowRepository; this.GraphRepository = graphRepository ?? WFlow.Repositories.GraphRepository.Default; this.Name = name; }
public static TapetiConfig WithFlow(this TapetiConfig config, IFlowRepository flowRepository = null) { config.Use(new FlowMiddleware(flowRepository)); return(config); }