Creating rules programmatically in WFF

最后都变了- 提交于 2020-01-17 03:12:09

问题


i need to create rule in Windows Workflow Foundation without using RuleSet editor. Maybe i didnt search enough on google but i cant find any examle of this.

Example of desired result:

var ra = new List<RuleAction>();
ra.Add(new RuleAction());
var rc = new RuleCondition();

var rule = new Rule("test", rc, ra, null);

Thanks ahead


回答1:


I think this blog-post answers your question: Programmatically Create Windows Workflow Rules



来源:https://stackoverflow.com/questions/5350144/creating-rules-programmatically-in-wff

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