using System.Collections.Generic;
public static void Main()
Console.WriteLine("Hello World");
List<Rule> rules = new List<Rule>();
public Parameters Parameters {get; set;}
public IReadOnlyList<ActionRule> Actions { get; set; }
Parameters = new Parameters();
Actions = new List<ActionRule>();
public IEnumerable<string> GetExpectedValueByTarget(string target)
var results = Actions.Where(x=> string.Equals(x.Target, target, System.StringComparison.OrdinalIgnoreCase)).Select(x=>x.ExpectedValue);
throw new Exception("There is no actions with the given target: " + target);
public class Parameters : Dictionary<string, string>
public string Target { get; set; }
public string ExpectedValue { get;set; }