C# Class WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator

Expression translator. http://msdn.microsoft.com/en-us/library/windowsazure/dd894031.aspx
Inheritance: System.Linq.Expressions.ExpressionVisitor
Show file Open project: dtretyakov/WindowsAzure Class Usage Examples

Public Methods

Method Description
AddPostProcessing ( MethodCallExpression method ) : void
StripQuotes ( Expression expression ) : Expression
Translate ( ITranslationResult result, MethodCallExpression method ) : void

Protected Methods

Method Description
VisitBinary ( BinaryExpression binary ) : Expression
VisitMember ( MemberExpression node ) : Expression
VisitMethodCall ( MethodCallExpression node ) : Expression
VisitUnary ( UnaryExpression unary ) : Expression

Private Methods

Method Description
AppendBinaryCall ( MethodCallExpression node, ExpressionType type ) : bool

Translates method call expression.

AppendBinaryPart ( Expression node, ExpressionType type ) : void
AppendConstant ( Expression node ) : void
AppendParameter ( Expression node ) : void
ExpressionTranslator ( string>.IDictionary nameChanges ) : System

Constructor.

TrimString ( StringBuilder builder ) : string

Method Details

AddPostProcessing() public method

public AddPostProcessing ( MethodCallExpression method ) : void
method System.Linq.Expressions.MethodCallExpression
return void

StripQuotes() public static method

public static StripQuotes ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

Translate() public method

public Translate ( ITranslationResult result, MethodCallExpression method ) : void
result ITranslationResult
method System.Linq.Expressions.MethodCallExpression
return void

VisitBinary() protected method

protected VisitBinary ( BinaryExpression binary ) : Expression
binary System.Linq.Expressions.BinaryExpression
return System.Linq.Expressions.Expression

VisitMember() protected method

protected VisitMember ( MemberExpression node ) : Expression
node System.Linq.Expressions.MemberExpression
return System.Linq.Expressions.Expression

VisitMethodCall() protected method

protected VisitMethodCall ( MethodCallExpression node ) : Expression
node System.Linq.Expressions.MethodCallExpression
return System.Linq.Expressions.Expression

VisitUnary() protected method

protected VisitUnary ( UnaryExpression unary ) : Expression
unary System.Linq.Expressions.UnaryExpression
return System.Linq.Expressions.Expression