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;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// </summary>
 public FlowExtension(IFlowRepository flowRepository)
 {
     this.flowRepository = flowRepository;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// </summary>
 public FlowStore(IFlowRepository repository)
 {
     this.repository = repository;
 }
Ejemplo n.º 6
0
 public FlowService(IFlowRepository flowRepository)
 {
     _flowRepository = flowRepository;
 }
Ejemplo n.º 7
0
 public MaterialController(IFlowRepository flowRepository)
 {
     _flowRepository = flowRepository;
 }
Ejemplo n.º 8
0
 public FlowRepositoryTest()
 {
     flowRepository = (IFlowRepository)MockStatic.GetMock();
 }
Ejemplo n.º 9
0
 public FlowController(ILogger <FlowController> logger, IMailService mailService, IFlowRepository flowRepository)
 {
     _log            = logger;
     _mailService    = mailService;
     _flowRepository = flowRepository;
 }
Ejemplo n.º 10
0
 public Engine(string name, IFlowRepository FlowRepository)
 {
     this.FlowRepository = FlowRepository;
     this.Name           = name;
 }
Ejemplo n.º 11
0
 public FlowCommandHandler(IFlowRepository flowRepository, ILoggingService loggingService)
 {
     _flowRepository = flowRepository;
     _loggingService = loggingService;
 }
Ejemplo n.º 12
0
 /// <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);
 }
Ejemplo n.º 13
0
 public FlowMiddleware(IFlowRepository flowRepository)
 {
     this.flowRepository = flowRepository;
 }
Ejemplo n.º 14
0
 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);
 }