【发布时间】:2010-02-25 19:38:22
【问题描述】:
我在 Google 上搜索了一下,似乎找不到任何 Xaml 活动的示例 - 好、坏或其他!
public static string ToXaml (this Activity activity)
{
// i would use ActivityXamlServices to go from Xaml
// to activity, but how to go other way? documentation
// is slim, and cannot infer proper usage of
// ActivityXamlServices from Xml remarks :S
string xaml = string.Empty;
return xaml;
}
欢迎提供提示、提示、指点 :)
注意:找到this。一旦工作,将通过并更新。无论如何,任何人都想击败我。更好的是,如果您能找到摆脱 WorkflowDesigner 的方法,这似乎很奇怪。
【问题讨论】:
标签: xaml serialization workflow-foundation workflow-foundation-4