-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Expressions_ExpressionExtensions_Find
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Finds and expression in expression tree.
Namespace: CodeJam.Expressions
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static Expression Find(
this Expression expr,
Func<Expression, bool> func
)
VB
<ExtensionAttribute>
Public Shared Function Find (
expr As Expression,
func As Func(Of Expression, Boolean)
) As Expression
F#
[<ExtensionAttribute>]
static member Find :
expr : Expression *
func : Func<Expression, bool> -> Expression
- expr
- Type: System.Linq.Expressions.Expression
Expression to VisitInternal. - func
- Type: System.Func(Expression, Boolean)
Find function. Return true if expression is found.
Type: Expression
Found expression or null.
In Visual Basic and C#, you can call this method as an instance method on any object of type Expression. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
ExpressionExtensions Class
Find Overload
CodeJam.Expressions Namespace