mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 13:32:33 +01:00
OR logic note (#8)
This commit is contained in:
parent
9ce841b880
commit
25d955a685
@ -150,7 +150,8 @@ More formally:
|
|||||||
Notes:
|
Notes:
|
||||||
* Don't forget to remove commas from any `{Value}` fields
|
* Don't forget to remove commas from any `{Value}` fields
|
||||||
* You can have spaces anywhere except *within* `{Name}` or `{Operator}` fields
|
* You can have spaces anywhere except *within* `{Name}` or `{Operator}` fields
|
||||||
* Here's a [good example on how to work with arrays](https://github.com/Biarity/Sieve/issues/2)
|
* Here's a [good example on how to work with enumerables](https://github.com/Biarity/Sieve/issues/2)
|
||||||
|
* Another example on [how to do OR logic](https://github.com/Biarity/Sieve/issues/8)
|
||||||
|
|
||||||
### Creating your own DSL
|
### Creating your own DSL
|
||||||
You can replace this DSL with your own (eg. use JSON instead) by implementing an [ISieveModel](https://github.com/Biarity/Sieve/blob/master/Sieve/Models/ISieveModel.cs). You can use the default [SieveModel](https://github.com/Biarity/Sieve/blob/master/Sieve/Models/SieveModel.cs) for reference.
|
You can replace this DSL with your own (eg. use JSON instead) by implementing an [ISieveModel](https://github.com/Biarity/Sieve/blob/master/Sieve/Models/ISieveModel.cs). You can use the default [SieveModel](https://github.com/Biarity/Sieve/blob/master/Sieve/Models/SieveModel.cs) for reference.
|
||||||
|
Loading…
Reference in New Issue
Block a user