malaikuangren

What is the purpose or drive to build thing like (xxx),How can it achieve the original goal of design?

2012年6月13日

Pick Activity(Build in Activity Sample)

摘要: ThePickactivity provides event-based control modeling. It behaves similar to the C#switchstatement, which executes only one of the branches in theswitchstatement. Unlike theswitchstatement in which a branch is executed based upon on a value, thePickactivity executes a branch based upon how an activi 阅读全文

posted @ 2012-06-13 21:19 malaikuangren 阅读(341) 评论(0) 推荐(0)
WorkflowInvoker,WorkflowApplication and WorkflowServiceHost

摘要: Workflow 4.0是个全新的框架,重写了3.0/3.5中的的Runtime和Activity。在Workflow 4.0的Runtime和3.0/3.5中的Runtime的最大区别在于没有了WorkflowRuntime对应的类。在3.0/3.5中,我们需要先初始化WorkflowRuntime,并通过CreateInstance函数来建立工作流实例(WorkflowInstance)。4.0中的WorkflowApplication类和WorkflowInstance类对应,但是不需要通过WorkflowRuntime来实例化,可以通过new来实例化。Creating an insta 阅读全文

posted @ 2012-06-13 01:45 malaikuangren 阅读(469) 评论(0) 推荐(0)