ClassFilterDescriptorBase
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
FilterDescriptorBase()
Declaration
public FilterDescriptorBase()
Methods
CreateFilterExpression(Expression)
Creates a filter expression by delegating its creation to
CreateFilterExpression(ParameterExpression), if
instance
is ParameterExpression, otherwise throws ArgumentException
Declaration
public virtual Expression CreateFilterExpression(Expression instance)
Parameters
instance
The instance expression, which will be used for filtering.
Returns
A predicate filter expression.
Exceptions
Parameter should be of type ParameterExpression
Implements
CreateFilterExpression(ParameterExpression)
Creates a predicate filter expression used for collection filtering.
Declaration
protected virtual Expression CreateFilterExpression(ParameterExpression parameterExpression)
Parameters
parameterExpression
The parameter expression, which will be used for filtering.
Returns
A predicate filter expression.
Serialize(IDictionary<string, object>)
for internal use
Declaration
protected override void Serialize(IDictionary<string, object> json)
Parameters
json
Overrides