mirror of
				https://github.com/Biarity/Sieve.git
				synced 2025-11-04 10:49:09 +01:00 
			
		
		
		
	nuget package and custom operators
This commit is contained in:
		@@ -9,7 +9,7 @@ namespace SieveTests.Services
 | 
			
		||||
{
 | 
			
		||||
    public class SieveCustomFilterMethodsOfPosts : ISieveCustomFilterMethods<Post>
 | 
			
		||||
    {
 | 
			
		||||
        public IQueryable<Post> IsNew(IQueryable<Post> source)
 | 
			
		||||
        public IQueryable<Post> IsNew(IQueryable<Post> source, string op, string value)
 | 
			
		||||
        {
 | 
			
		||||
            var result = source.Where(p => p.LikeCount < 100 &&
 | 
			
		||||
                                           p.CommentCount < 5);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user