- Notifications
You must be signed in to change notification settings - Fork0
Implementation of the Filtering API of Microsoft Guidelines REST API using@SuperPower library.
License
NotificationsYou must be signed in to change notification settings
RayTale/Guidelines.RestApi.Collections.Filtering
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Implementation of the Filtering API ofMicrosoft Guidelines REST API usingSuperpower.
- Equal
varexpression="Id eq 1";
- NotEqual
varexpression="Id ne 1";
- GraterThan
varexpression="Id gt 1";
- GraterThanOrEqual
varexpression="Id ge 1";
- LessThan
varexpression="Id lt 1";
- LessThanOrEqual
varexpression="Id le 1";
- In
varexpression="Id in (1,2,3)";
- Length
varexpression="length(Title) gt 1";
- StartsWith
varexpression="startswith(Title, 'Some')";
- EndsWith
varexpression="endswith(Title, 'Title')";
- Contains
varexpression="contains(Title, 'Title')";
- IndexOf
varexpression="indexof(Title, 'Title') eq 0";
- And
varexpression="Id eq 1 and Value ne 5.0";
- Or
varexpression="Id eq 1 or Value ne 5.0";
- Not
varexpression="not Id eq 1";
varexpression="(length(Title) gt 5 and contains(Title, 'tle')) or Id in (3,5)";// Parse a filtering functionExpression<Func<Item,bool>>predicateExpression=FilterParser.Parse<Item>(expression);// Compile a filtering functionFunc<Item,bool>predicate=FilterCompiler.Compile<Item>(expression);
About
Implementation of the Filtering API of Microsoft Guidelines REST API using@SuperPower library.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Languages
- C#100.0%