public WorkflowFactory()
        {
            _dependencyDictionaryExplorer = new DependencyDictionaryExplorer();
            _workflowServices             = WorkflowServices.CreateInstance();
            _workflowServices.DependencyExlorers.Add(_dependencyDictionaryExplorer);

            _workflow = new Workflow <TCtx>(_workflowServices);
        }
Exemple #2
0
 internal Workflow(IWorkflowServices workflowServices)
 {
     _steps                  = new List <Step <TCtx> >();
     _failedSteps            = new List <Step <TCtx> >();
     _skippedSteps           = new List <Step <TCtx> >();
     _passedSteps            = new List <Step <TCtx> >();
     _workflowServices       = workflowServices;
     _dependencyExplorer     = new DepenencyExplorer(_workflowServices);
     _dependencyGraphBuilder = new DependencyGraphBuilder <Step <TCtx> >(_dependencyExplorer);
 }
        public SyncFormService(
            IPrevalueSourceService prevalueSourceService,
            IPrevalueSourceStorage prevalueSourceStorage,
            IDataSourceService dataSourceService,
            IDataSourceStorage dataSourceStorage,
            IFormService formService,
            IFormStorage formStorage,
            IWorkflowServices workflowServices,
            IWorkflowStorage workflowStorage)
        {
            this.prevalueSourceStorage = prevalueSourceStorage;
            this.prevalueSourceService = prevalueSourceService;

            this.dataSourceService = dataSourceService;
            this.dataSourceStorage = dataSourceStorage;

            this.formService = formService;
            this.formStorage = formStorage;

            this.workflowServices = workflowServices;
            this.workflowStorage  = workflowStorage;
        }
Exemple #4
0
 public SWLVisitorOrchestrate(gov.cca.Services services, int workflow_handle, IWorkflowServices core_services)
 {
     this.services        = services;
     this.workflow_handle = workflow_handle;
     this.core_services   = core_services;
 }
 public NotificationController(IWorkflowServices wfSvc)
 {
     this._wfSvc = wfSvc;
 }
 public DepenencyExplorer(IWorkflowServices services)
 {
     _workflowServices = services;
 }