问题
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