Class RuleConfigParser
- Namespace
- Fluxzy.Rules
- Assembly
- Fluxzy.Core.dll
public class RuleConfigParser
- Inheritance
-
RuleConfigParser
- Inherited Members
-
Methods
GetYamlFromRule(Rule)
public string GetYamlFromRule(Rule rule)
Parameters
rule
Rule
Returns
- string
GetYamlFromRuleSet(RuleSet)
public string GetYamlFromRuleSet(RuleSet ruleSet)
Parameters
ruleSet
RuleSet
Returns
- string
TryGetRuleFromYaml(string, out List<RuleConfigReaderError>?)
public RuleConfigContainer? TryGetRuleFromYaml(string yamlContent, out List<RuleConfigReaderError>? readErrors)
Parameters
yamlContent
string
readErrors
List<RuleConfigReaderError>
Returns
- RuleConfigContainer
TryGetRuleSetFromYaml(string, out List<RuleConfigReaderError>?)
public RuleSet? TryGetRuleSetFromYaml(string yamlContent, out List<RuleConfigReaderError>? readErrors)
Parameters
yamlContent
string
readErrors
List<RuleConfigReaderError>
Returns
- RuleSet