internal Rule(string ruleId, Response response, int disableAfter, params Criterion[] criteria) { Initialize(ruleId, response, criteria); _disableAfter = disableAfter; _timesMatched = 0; }
private void Initialize(string ruleId, Response response, params Criterion[] criteria) { _ruleId = ruleId; _response = response; _criteria = criteria.ToList(); _timesMatched = 0; }