UrlExpressionVisitor Class
Expression visitor class that generates OData style $filter parameter.
Namespace: Microsoft.WindowsAzure.Common.OData
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Inheritance Hierarchy
System.Linq.Expressions.ExpressionVisitor
Microsoft.WindowsAzure.Common.OData.UrlExpressionVisitor
Syntax
public class UrlExpressionVisitor : ExpressionVisitor
public ref class UrlExpressionVisitor : ExpressionVisitor
type UrlExpressionVisitor =
class
inherit ExpressionVisitor
end
Public Class UrlExpressionVisitor
Inherits ExpressionVisitor
Constructors
Name | Description | |
---|---|---|
UrlExpressionVisitor() |
Methods
Name | Description | |
---|---|---|
ToString() | ||
VisitBinary(BinaryExpression) | Visits binary expression like ==, &&, >, etc. |
|
VisitConditional(ConditionalExpression) | Visits conditional expression foo == true ? bar : fee. Throws NotSupportedException. |
|
VisitConstant(ConstantExpression) | Visits constants like 'a' or 123. |
|
VisitMember(MemberExpression) | Visits object members like p.Foo or dateTime.Hour. |
|
VisitMethodCall(MethodCallExpression) | Visits method calls like Contains, StartsWith, etc. Methods that are not supported will throw an exception. |
|
VisitNew(NewExpression) | Visits new object expression like new DateTime(). |
|
VisitUnary(UnaryExpression) | Visits binary expression !foo. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsAzure.Common.OData Namespace
Return to top