Esempio n. 1
0
        static void Main(string[] args)
        {
            //WorkflowInvoker.Invoke(new Germany());

            WorkflowHostHelper wizardHostHelper = new WorkflowHostHelper();
            Guid id = wizardHostHelper.StartWizard();

            //runWork("47486BAC-A3EC-4488-BC85-F5C17086158D");
        }
Esempio n. 2
0
        static void runWork(string id)
        {
            WorkflowHostHelper wizardHostHelper = new WorkflowHostHelper();

            wizardHostHelper.ResumeWizard(Guid.Parse(id));

            string command;

            while (true)
            {
                Console.WriteLine("Enter command n/b: ");
                command = Console.ReadLine();
                wizardHostHelper.RunWorkflow(command.Equals("n") ? "Next" : "Back");
            }
        }
Esempio n. 3
0
 public WorkflowService()
 {
     host = new WorkflowHostHelper();
 }