Esempio n. 1
0
        private RuleEntry createRuleEntry(Wrapper.Model model, string name, object element, Rule rule)
        {
            RuleEntry ruleEntry = new RuleEntry();
            ruleEntry.name = name;
            ruleEntry.GUID = Guid.NewGuid().ToString();
            ruleEntry.actions = 0;
            ruleEntry.element = element;
            ruleEntry.rule = rule;
            ruleEntry.model = model;

            return ruleEntry;
        }
Esempio n. 2
0
 private void addToDefectsList(string defectDescription, RuleEntry ruleEntry)
 {
     ListBoxObject listBoxObject = ruleEntry.createListBoxObject(defectDescription);
     BPAddIn.BPAddIn.defectsWindow.addToList(listBoxObject);
 }