Пример #1
0
 private bool _SaveSingleRule(RuleObject ruleObject)
 {
     return(XmlTool.ReplaceXmlData(ERuleParam4Editor.RuleConfigUrlForEditor, ruleObject, string.Format("root/node[@id='{0}']", ruleObject.RuleHost.RuleID)));
 }
Пример #2
0
 private bool _OutputSingleRule(CRule rule)
 {
     return(XmlTool.ReplaceXmlData(ERuleParam4Editor.RuleConfigUrl, rule, string.Format("root/node[@id='{0}']", rule.RuleID)));
 }