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

See Also

Reference

CodeJam.Expressions Namespace

Clone this wiki locally