Skip to content

ListOptions<T>.AddFilter method (1 of 3)

Adds a filtering option.

public void AddFilter(FilterBy<T> filter)
parameter description
filter filter

See Also


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


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