示例#1
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");
            }
        }
示例#2
0
 public string Next()
 {
     return(host.RunWorkflow("Next"));
 }