Interface IExpressionTreeConverter
Converts System.Linq.Expressions.Expression trees.
Namespace: Cqrs.Sql.DataStores
Assembly: Cqrs.Sql.dll
Syntax
public interface IExpressionTreeConverter
Methods
GetMappings()
A collection of System.Linq.Expressions.LambdaExpression grouped by System.Reflection.MemberInfo.
Declaration
Dictionary<MemberInfo, LambdaExpression> GetMappings()
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.Reflection.MemberInfo, System.Linq.Expressions.LambdaExpression> |
Visit(ReadOnlyCollection<Expression>)
Dispatches the list of expressions to one of the more specialized visit methods in this class.
Declaration
ReadOnlyCollection<Expression> Visit(ReadOnlyCollection<Expression> nodes)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.Expression> | nodes | The expressions to visit. |
Returns
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.Expression> | The modified System.Linq.Expressions.Expression list, if any one of the elements were modified; otherwise, returns the System.Linq.Expressions.Expression expression list. |
Visit(Expression)
Dispatches the System.Linq.Expressions.Expression to one of the more specialized visit methods in this class.
Declaration
Expression Visit(Expression node)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | node | The System.Linq.Expressions.Expression to visit. |
Returns
Type | Description |
---|---|
System.Linq.Expressions.Expression | The modified System.Linq.Expressions.Expression, if it or any subexpression was modified; otherwise, returns the original System.Linq.Expressions.Expression. |