Class WhereExpressionTreeVisitor

Converts a , taken from the where-clause of a linq query, into a QueryFilter.

Inheritance
object
WhereExpressionTreeVisitor
Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingLinq
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse

public class WhereExpressionTreeVisitor : ThrowingExpressionVisitor

Methods

CreateFilter(Expression)

Converts the specified expression into a QueryFilter.

Declaration
RequestResponse

public static QueryFilter CreateFilter(Expression expression)
Parameters
TypeNameDescription
Expressionexpression

The expression to convert.

Returns
TypeDescription
QueryFilter

A QueryFilter containing the converted expression.

CreateUnhandledItemException<T>(T, string)

Declaration
RequestResponse

protected override Exception CreateUnhandledItemException<T>(T unhandledItem, string visitMethod)
Parameters
TypeNameDescription
TunhandledItem
stringvisitMethod
Returns
TypeDescription
Exception
Type Parameters
NameDescription
T

VisitBinary(BinaryExpression)

Declaration
RequestResponse

protected override Expression VisitBinary(BinaryExpression expression)
Parameters
TypeNameDescription
BinaryExpressionexpression
Returns
TypeDescription
Expression

VisitMethodCall(MethodCallExpression)

Declaration
RequestResponse

protected override Expression VisitMethodCall(MethodCallExpression expression)
Parameters
TypeNameDescription
MethodCallExpressionexpression
Returns
TypeDescription
Expression

VisitUnary(UnaryExpression)

Declaration
RequestResponse

protected override Expression VisitUnary(UnaryExpression expression)
Parameters
TypeNameDescription
UnaryExpressionexpression
Returns
TypeDescription
Expression

Do you have some feedback for us?

If you have suggestions for improving this article,