SeanKilleen/Sieve.NET — pull request #34 by SeanKilleen (2014-05-30 21:18:50+00:00)
Title: Adding ForAdditionalValues() for...additional values support.

This resolves #31.

With this change, we add an additional method: `ForAdditionalValues()`.

This method, which can be used with `IEnumerable` (e.g. IEnumerable if the property type is int) or `IEnumerable`, adds additional values to parse.

So, the following now works:

// both of the below create equality filters for the numbers 1-6
var example1 = new EqualityFilter()
.ForProperty(x=>x.AnInt)
.ForValues(new List{1,2,3})
.ForAdditionalValues(new List{4,5,6});

var example2 = new EqualityFilter()
.ForProperty(x=>x.AnInt)
.ForValues("1,2,3")
.ForAdditionalValues("4,5,6");