We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Specification instances may be used to test individual values. They return a value which indicates whether or not that value satisfies the spec.
var overSix = Spec.Expr<int>(x => x > 6); overSix.Matches(5); // false overSix.Matches(10); // true
To test a collection of values using a specification, you may wish to look into collection or queryable filtering.