Workflow 4 runtime compiling

烈酒焚心 提交于 2019-12-13 16:19:55

问题


In WF 4, is there a way to compile XAML at runtime?

In WF 3.5 you were able to do this via WorkflowCompiler

Is there something similar in WF 4?


回答1:


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.

  • Walkthrough
  • Video by Ron Jacobs

Let me know if you have any questions!



来源:https://stackoverflow.com/questions/9417102/workflow-4-runtime-compiling

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!