工作流程4运行时编译 [英] Workflow 4 runtime compiling
本文介绍了工作流程4运行时编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在WF 4中,是否可以在运行时编译XAML?
In WF 4, is there a way to compile XAML at runtime?
在WF 3.5中,您可以通过WorkflowCompiler完成此操作
In WF 3.5 you were able to do this via WorkflowCompiler
WF 4中是否有类似的东西?
Is there something similar in WF 4?
推荐答案
实际上,您可以在运行时加载运行的XAML.这里有几个链接.但是请清楚一点,它不是在编译它,而是在解释它,因为这就是XAML的工作方式.
You can in fact load an run XAML at runtime. Here are a couple links. But let's be clear that it's not compiling it -- it's interpreting it -- because that's how XAML works.
查看全文