Skip to content

M_CodeJam_Expressions_Expr_Func__1

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

Expr.Func(TResult) Method (Expression(Func(TResult)))

Helper for type inference from the lambda expression.

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

Syntax

C#

public static Expression<Func<TResult>> Func<TResult>(
	Expression<Func<TResult>> funcExpression
)

VB

Public Shared Function Func(Of TResult) ( 
	funcExpression As Expression(Of Func(Of TResult))
) As Expression(Of Func(Of TResult))

F#

static member Func : 
        funcExpression : Expression<Func<'TResult>> -> Expression<Func<'TResult>> 

Parameters

 

funcExpression
Type: System.Linq.Expressions.Expression(Func(TResult))
The lambda expression.

Type Parameters

 

TResult
The result type.

Return Value

Type: Expression(Func(TResult))
The lambda expression passed.

See Also

Reference

Expr Class
Func Overload
CodeJam.Expressions Namespace

Clone this wiki locally