예제 #1
0
        public ProcessExecutionService()
        {
            myProcessDefinitionService = new MyProcessDefinitionService();
            delegateService = new DelegationService();
            organisationService = (IOrganisationService)ServiceLocator.Instance.GetService(typeof(IOrganisationService));

            taskRepository = TaskRepository.Instance;
            transitionRepository = TransitionRepository.Instance;
            processInstanceRepository = ProcessInstanceRepository.Instance;
            flowRepository = FlowRepository.Instance;
        }
예제 #2
0
        public ProcessExecutionService()
        {
            myProcessDefinitionService = new MyProcessDefinitionService();
            delegateService            = new DelegationService();
            organisationService        = (IOrganisationService)ServiceLocator.Instance.GetService(typeof(IOrganisationService));

            taskRepository            = TaskRepository.Instance;
            transitionRepository      = TransitionRepository.Instance;
            processInstanceRepository = ProcessInstanceRepository.Instance;
            flowRepository            = FlowRepository.Instance;
        }