Creating rules programmatically in WFF
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开发者_JAVA百科 = new Rule("test", rc, ra, null);
Thanks ahead
I think this blog-post answers your question: Programmatically Create Windows Workflow Rules
精彩评论