API Reference
Class
RuleConfigExporter
Exports the current in-memory rule set to a serializable RuleConfig list that can be saved and edited for later runs.
Inheritance
- Object
- RuleConfigExporter
Methods
public static List<RuleConfig> Export(IEnumerable<Rule> rules) #Returns:
List<RuleConfig>Creates a list of RuleConfig objects representing the provided rules.
Parameters
- rules System.Collections.Generic.IEnumerable{TestimoX.Definitions.Rule}
- Rule set to export.
public static Void Save(String path, IEnumerable<Rule> rules) #Returns:
VoidSaves an exported RuleConfig list to the specified file as JSON (indented).
Parameters
- path System.String
- Destination file path.
- rules System.Collections.Generic.IEnumerable{TestimoX.Definitions.Rule}
- Rule set to export.