ListOptions<T>.AddFilter method (1 of 3)
Adds a filtering option.
public void AddFilter(FilterBy<T> filter)
| parameter | description |
|---|---|
| filter | filter |
See Also
- class FilterBy<T>
- class ListOptions<T>
- namespace Amica
ListOptions<T>.AddFilter method (2 of 3)
Adds a filtering option.
public FilterBy<T> AddFilter(string propertyName, Operator op, object? value,
Connector connector = Connector.And)
| parameter | description |
|---|---|
| propertyName | property name |
| op | operator |
| value | value to compare |
| connector | logical connector to the next filter |
See Also
- class FilterBy<T>
- enum Operator
- enum Connector
- class ListOptions<T>
- namespace Amica
ListOptions<T>.AddFilter<TProperty> method (3 of 3)
Adds a filtering option.
public FilterBy<T> AddFilter<TProperty>(Expression<Func<T, TProperty>> expression, Operator op,
object? value, Connector connector = Connector.And)
| parameter | description |
|---|---|
| TProperty | target property type |
| expression | target property expression |
| op | operator |
| value | value to compare |
| connector | logical connector to the next filter |
See Also
- class FilterBy<T>
- enum Operator
- enum Connector
- class ListOptions<T>
- namespace Amica