mirror of https://github.com/sean-m/McRule.git
Working towards property filtering.
parent
c806955ce6
commit
a97a58e094
|
@ -10,6 +10,7 @@ namespace McRule {
|
|||
public class ExpressionRuleCollection : IExpressionRuleCollection, IExpressionPolicy {
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
public string Name { get; set; }
|
||||
public IDictionary<string, string[]> Properties { get; set; } = new Dictionary<string, string[]>();
|
||||
public RuleOperator RuleOperator { get; set; } = RuleOperator.And;
|
||||
public IEnumerable<IExpressionPolicy> Rules { get; set; }
|
||||
public string TargetType { get; set; }
|
||||
|
|
|
@ -8,6 +8,7 @@ namespace McRule {
|
|||
public interface IExpressionRuleCollection {
|
||||
public Guid Id { get; }
|
||||
public IEnumerable<IExpressionPolicy> Rules { get; }
|
||||
public IDictionary<string, string[]> Properties { get; }
|
||||
public RuleOperator RuleOperator { get; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue