Added inequality support

This commit is contained in:
Biarity 2018-01-28 09:33:07 +10:00
parent 9e990c875c
commit a2c38d5f7a
2 changed files with 6 additions and 1 deletions

View File

@ -139,6 +139,9 @@ namespace Sieve.Services
case FilterOperator.Equals:
comparison = Expression.Equal(propertyValue, filterValue);
break;
case FilterOperator.NotEquals:
comparison = Expression.NotEqual(propertyValue, filterValue);
break;
case FilterOperator.GreaterThan:
comparison = Expression.GreaterThan(propertyValue, filterValue);
break;

View File

@ -1,7 +1,9 @@
version: 1.0.{build}
image: Visual Studio 2017
build:
verbosity: minimal
image: Visual Studio 2017
before_build:
- cmd: >-
dotnet restore