mirror of
https://github.com/Biarity/Sieve.git
synced 2025-07-27 12:43:13 +02:00
v2.3.3
This commit is contained in:
@@ -5,7 +5,7 @@ using SieveTests.Entities;
|
||||
|
||||
namespace SieveTests.Services
|
||||
{
|
||||
public class ApplicationSieveProcessor : SieveProcessor
|
||||
public class ApplicationSieveProcessor : SieveProcessor
|
||||
{
|
||||
public ApplicationSieveProcessor(IOptions<SieveOptions> options, ISieveCustomSortMethods customSortMethods, ISieveCustomFilterMethods customFilterMethods) : base(options, customSortMethods, customFilterMethods)
|
||||
{
|
||||
|
@@ -1,10 +1,10 @@
|
||||
using Sieve.Services;
|
||||
using System.Linq;
|
||||
using Sieve.Services;
|
||||
using SieveTests.Entities;
|
||||
using System.Linq;
|
||||
|
||||
namespace SieveTests.Services
|
||||
{
|
||||
public class SieveCustomFilterMethods : ISieveCustomFilterMethods
|
||||
public class SieveCustomFilterMethods : ISieveCustomFilterMethods
|
||||
{
|
||||
public IQueryable<Post> IsNew(IQueryable<Post> source, string op, string[] values)
|
||||
=> source.Where(p => p.LikeCount < 100 && p.CommentCount < 5);
|
||||
|
Reference in New Issue
Block a user