public void Remove(RuleCategory removeThis) { foreach (RuleCategory current in this.bindingCollection_0) { current.Remove(removeThis); } this.bindingCollection_0.Remove(removeThis); }
public void Remove(RuleCategory removeThis) { foreach (RuleCategory current in this.observableCollection_0) { current.Remove(removeThis); } this.observableCollection_0.Remove(removeThis); }
public bool ContainsInTree(RuleCategory childCategory) { bool result; if (childCategory == this) { result = true; } else { foreach (RuleCategory current in this.bindingCollection_0) { if (current.ContainsInTree(childCategory)) { result = true; return result; } } result = false; } return result; }
internal void method_12(RuleCategory ruleCategory_0) { foreach (RuleCategory current in ruleCategory_0.RuleCategories) { this.method_12(current); } foreach (Rule current2 in ruleCategory_0.Rules) { if (current2.Active) { this.method_14(current2, true); } } }
public void DeleteCategory(RuleCategory removeThis) { while (removeThis.RuleCategories.Count > 0) { this.DeleteCategory(removeThis.RuleCategories[0]); } foreach (Rule current in removeThis.Rules) { this.observableCollection_0.Remove(current); } this.ruleSet_0.Remove(removeThis); }