FilterDescriptorBase
Base class for all IFilterDescriptor used for handling the logic for property changed notifications.
Definition
Namespace:Telerik.DataSource
Assembly:Telerik.DataSource.dll
Syntax:
[JsonConverter(typeof(FilterDescriptorBaseConverter))]
public class FilterDescriptorBase : JsonObject, IFilterDescriptor
Inheritance: objectJsonObjectFilterDescriptorBase
Derived Classes:
Implements:
Inherited Members
Constructors
public FilterDescriptorBase()
Methods
Creates a filter expression by delegating its creation to
CreateFilterExpression(ParameterExpression), if
instance is ParameterExpression, otherwise throws ArgumentException
public virtual Expression CreateFilterExpression(Expression instance)
The instance expression, which will be used for filtering.
Returns:A predicate filter expression.
Exceptions:Parameter should be of type ParameterExpression
Implements:
Creates a predicate filter expression used for collection filtering.
protected virtual Expression CreateFilterExpression(ParameterExpression parameterExpression)
The parameter expression, which will be used for filtering.
Returns:A predicate filter expression.
for internal use
protected override void Serialize(IDictionary<string, object> json)
Overrides: