Class FilterDescriptorBase
Base class for all IFilterDescriptor used for handling the logic for property changed notifications.
Inherited Members
Namespace: Telerik.DataSource
Assembly: Telerik.DataSource.dll
Syntax
public class FilterDescriptorBase : JsonObject, IFilterDescriptor
Constructors
FilterDescriptorBase()
Declaration
public FilterDescriptorBase()
Methods
CreateFilterExpression(Expression)
Creates a filter expression by delegating its creation to
CreateFilterExpression(ParameterExpression), if
instance
is System.Linq.Expressions.ParameterExpression, otherwise throws System.ArgumentException
Declaration
public virtual Expression CreateFilterExpression(Expression instance)
Parameters
System.Linq.Expressions.Expression
instance
The instance expression, which will be used for filtering. |
Returns
System.Linq.Expressions.Expression
A predicate filter expression. |
Implements
Exceptions
System.ArgumentException
Parameter should be of type System.Linq.Expressions.ParameterExpression |
CreateFilterExpression(ParameterExpression)
Creates a predicate filter expression used for collection filtering.
Declaration
protected virtual Expression CreateFilterExpression(ParameterExpression parameterExpression)
Parameters
System.Linq.Expressions.ParameterExpression
parameterExpression
The parameter expression, which will be used for filtering. |
Returns
System.Linq.Expressions.Expression
A predicate filter expression. |
Serialize(IDictionary<String, Object>)
for internal use
Declaration
protected override void Serialize(IDictionary<string, object> json)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object>
json
|