-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Expressions_Expr_Func__2
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Helper for type inference from the lambda expression.
Namespace: CodeJam.Expressions
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static Expression<Func<T1, TResult>> Func<T1, TResult>(
Expression<Func<T1, TResult>> funcExpression
)
VB
Public Shared Function Func(Of T1, TResult) (
funcExpression As Expression(Of Func(Of T1, TResult))
) As Expression(Of Func(Of T1, TResult))
F#
static member Func :
funcExpression : Expression<Func<'T1, 'TResult>> -> Expression<Func<'T1, 'TResult>>
- funcExpression
- Type: System.Linq.Expressions.Expression(Func(T1, TResult))
The lambda expression.
- T1
- The type of argument #1.
- TResult
- The result type.
Type: Expression(Func(T1, TResult))
The lambda expression passed.