WF控制台工作流(1)

简单使用WF工作流示例:

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();
        }
    }
}

 

posted @ 2015-02-05 15:34  好学Ace  阅读(180)  评论(0编辑  收藏  举报