Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.15 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.15 KB

Spors.Linq.Filter

Nuget Website GitHub Workflow Status GitHub last commit codecov GitHub

An universal library for filtering a list

Spors.Linq.Filter is a .NET library for managing linq filtering of an IEnumerable source. See documentation.

Getting Started

At the moment the only way to get this package is by using nuget.org.

Install-Package Spors.Linq.Filter

Usage

Filter<int> filter = new();

Predicate<int> predicate = val => val > 2;
filter.AddFilter(predicate);

List<int> numbers = new() { 0, 1, 3, 4 };
List<int> resultList = (List<int>) filter.ApplyFilters(numbers);