C# Class Signum.Engine.Linq.OverloadingSimplifier

returns the set of all aliases produced by a query source
Inheritance: System.Linq.Expressions.ExpressionVisitor
显示文件 Open project: signumsoftware/framework Class Usage Examples

Public Methods

Method Description
ExtractDefaultIfEmpty ( Expression &expression ) : bool
ExtractDefaultIfEmpty ( LambdaExpression &lambda ) : bool
Simplify ( Expression expression ) : Expression

Protected Methods

Method Description
VisitBinary ( BinaryExpression b ) : Expression
VisitMember ( MemberExpression m ) : Expression
VisitMethodCall ( MethodCallExpression m ) : Expression

Private Methods

Method Description
CallToString ( Expression expression ) : Expression

Method Details

ExtractDefaultIfEmpty() public static method

public static ExtractDefaultIfEmpty ( Expression &expression ) : bool
expression System.Linq.Expressions.Expression
return bool

ExtractDefaultIfEmpty() public static method

public static ExtractDefaultIfEmpty ( LambdaExpression &lambda ) : bool
lambda System.Linq.Expressions.LambdaExpression
return bool

Simplify() public static method

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

VisitBinary() protected method

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

VisitMember() protected method

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

VisitMethodCall() protected method

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