WF控制台工作流(2)

using System;
using System.Linq;
using System.Activities;
using System.Activities.Statements;

namespace WorkflowDemo
{

    class Program
    {
        static void Main(string[] args)
        {
            //活动:树状的
            Activity workflow1 = new Workflow1();

            WorkflowInvoker.Invoke(workflow1);

            Console.ReadKey();
        }
    }
}
原文地址:https://www.cnblogs.com/zoro-zero/p/4275173.html