private static void CreateRuleSetDocument(DocX body, System.Workflow.Activities.Rules.RuleSet ruleSet)
        {
            string ruleSetString = RuleTranslator.ConvertRuleSet(ruleSet, false);

            body.DocumentWorkflow(ruleSet.Name);
            body.DocumentDescription(ruleSetString);
        }
Example #2
0
 public RuleTranslatorTests()
 {
     this.santa          = new Santa();
     this.ruleTranslator = new RuleTranslator();
 }