Working towards property filtering.

dev
Sean McArde 2023-12-11 16:33:06 -08:00
parent c806955ce6
commit a97a58e094
2 changed files with 2 additions and 0 deletions

View File

@ -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; }

View File

@ -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; }
}