Skip to content

T_CodeJam_Expressions_ExpressionExtensions

Andrew Koryavchenko edited this page Jun 17, 2018 · 6 revisions

ExpressionExtensions ClassExpression Extensions.

Inheritance Hierarchy

System.Object
  CodeJam.Expressions.ExpressionExtensions
Namespace: CodeJam.Expressions
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static class ExpressionExtensions

VB

<ExtensionAttribute>
Public NotInheritable Class ExpressionExtensions

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type ExpressionExtensions =  class end

The ExpressionExtensions type exposes the following members.

Methods

 

Name Description
Public method Static member Find(Expression, Func(Expression, Boolean)) Finds and expression in expression tree.
Public method Static member Find(Expression, Expression) Finds an expression in expression tree.
Public method Static member GetConstructor Returns the constructor.
Public method Static member GetDebugView Gets the DebugView internal property value of provided expression.
Public method Static member GetField Returns the field.
Public method Static member GetFullPropertyName Returns a composited name of the property.
Public method Static member GetMemberExpression(Expression) Gets the MemberInfo.
Public method Static member GetMemberExpression(LambdaExpression) Gets the MemberInfo.
Public method Static member GetMemberInfo Gets the MemberInfo.
Public method Static member GetMembersInfo Gets the MemberInfo.
Public method Static member GetMethod Returns the method.
Public method Static member GetMethodName Returns a name of the method.
Public method Static member GetProperty Returns the property.
Public method Static member GetPropertyName Returns a name of the property.
Public method Static member ReplaceParameters(LambdaExpression, Expression) Replaces lambda body parameter and returns modified body.
Public method Static member ReplaceParameters(LambdaExpression, Expression[]) Replaces lambda body parameters and returns modified body.
Public method Static member Transform(Expression, Func(Expression, Expression)) Tranforms original expression.
Public method Static member Transform(T)(T, Func(Expression, Expression)) Tranforms original expression.
Public method Static member Visit(Expression, Action(Expression)) Visits expression tree.
Public method Static member Visit(Expression, Func(Expression, Boolean)) Visits expression tree.
  Back to Top

See Also

Reference

CodeJam.Expressions Namespace

Clone this wiki locally