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 : ThrowingExpressionVisitorMethods
CreateFilter(Expression)
Converts the specified expression into a QueryFilter.
Declaration
RequestResponse
public static QueryFilter CreateFilter(Expression expression)Parameters
| Type | Name | Description |
|---|---|---|
| Expression | expression |
The expression to convert. |
Returns
| Type | Description |
|---|---|
| QueryFilter |
A QueryFilter containing the converted |
CreateUnhandledItemException<T>(T, string)
Declaration
RequestResponse
protected override Exception CreateUnhandledItemException<T>(T unhandledItem, string visitMethod)Parameters
| Type | Name | Description |
|---|---|---|
| T | unhandledItem | |
| string | visitMethod |
Returns
| Type | Description |
|---|---|
| Exception |
Type Parameters
| Name | Description |
|---|---|
| T |
VisitBinary(BinaryExpression)
Declaration
RequestResponse
protected override Expression VisitBinary(BinaryExpression expression)Parameters
| Type | Name | Description |
|---|---|---|
| BinaryExpression | expression |
Returns
| Type | Description |
|---|---|
| Expression |
VisitMethodCall(MethodCallExpression)
Declaration
RequestResponse
protected override Expression VisitMethodCall(MethodCallExpression expression)Parameters
| Type | Name | Description |
|---|---|---|
| MethodCallExpression | expression |
Returns
| Type | Description |
|---|---|
| Expression |
VisitUnary(UnaryExpression)
Declaration
RequestResponse
protected override Expression VisitUnary(UnaryExpression expression)Parameters
| Type | Name | Description |
|---|---|---|
| UnaryExpression | expression |
Returns
| Type | Description |
|---|---|
| Expression |