Class RuleConfigContainer
This is a companion for deserialization rules from config files It allows multiple action declaration inside the same rule
public class RuleConfigContainer
- Inheritance
-
RuleConfigContainer
- Inherited Members
Constructors
RuleConfigContainer(Filter)
[JsonConstructor]
public RuleConfigContainer(Filter filter)
Parameters
filter
Filter
Properties
Action
public Action? Action { get; set; }
Property Value
Actions
public List<Action>? Actions { get; set; }
Property Value
Filter
public Filter Filter { get; set; }
Property Value
Name
public string? Name { get; set; }
Property Value
Order
public int Order { get; set; }
Property Value
Methods
CreateFrom(IEnumerable<Rule>)
public static IEnumerable<RuleConfigContainer> CreateFrom(IEnumerable<Rule> rules)
Parameters
rules
IEnumerable<Rule>
Returns
GetAllActions()
public IEnumerable<Action> GetAllActions()
Returns
GetAllRules()
public IEnumerable<Rule> GetAllRules()