[Extension()] public static bool TrySaveRuleFile( IAbsoluteFilePath ruleFilePath, IGroup group, QueryPersistenceKind queryPersistenceKind, out string failureReason )
Parameters
- ruleFilePath
- The absolute path to the rule file.
- group
- The group of code queries and rules, not null only if this method returns true.
- queryPersistenceKind
- The group of code queries and rules, not null only if this method returns true.
- failureReason
- If the method returns false, failureReason is not null not empty, and explains in plain-english why code queries and rules haven't been saved to the rule file.
Return Value
true if the rules have been properly saved to the rule file, else returns false.