mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-24 14:33:01 +01:00
Added inequality support
This commit is contained in:
parent
9e990c875c
commit
a2c38d5f7a
@ -139,6 +139,9 @@ namespace Sieve.Services
|
|||||||
case FilterOperator.Equals:
|
case FilterOperator.Equals:
|
||||||
comparison = Expression.Equal(propertyValue, filterValue);
|
comparison = Expression.Equal(propertyValue, filterValue);
|
||||||
break;
|
break;
|
||||||
|
case FilterOperator.NotEquals:
|
||||||
|
comparison = Expression.NotEqual(propertyValue, filterValue);
|
||||||
|
break;
|
||||||
case FilterOperator.GreaterThan:
|
case FilterOperator.GreaterThan:
|
||||||
comparison = Expression.GreaterThan(propertyValue, filterValue);
|
comparison = Expression.GreaterThan(propertyValue, filterValue);
|
||||||
break;
|
break;
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
version: 1.0.{build}
|
version: 1.0.{build}
|
||||||
|
image: Visual Studio 2017
|
||||||
|
|
||||||
build:
|
build:
|
||||||
verbosity: minimal
|
verbosity: minimal
|
||||||
image: Visual Studio 2017
|
|
||||||
before_build:
|
before_build:
|
||||||
- cmd: >-
|
- cmd: >-
|
||||||
dotnet restore
|
dotnet restore
|
||||||
|
Loading…
Reference in New Issue
Block a user