public AndNot ( string eventName, int count = 1 ) : |
||
eventName | string | |
count | int | |
return |
public Rule AndNot(string eventName, int count = 1)
{
//TODO - What was I thinking?
Func<UserEventList, bool> op = el => !el.Any(e => e.Name == eventName && e.Occurrrences.Count >= count);
Operations.Add(op);
return this;
}