Skip to content

M_CodeJam_Expressions_Expr_Func__8

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

Expr.Func(T1, T2, T3, T4, T5, T6, T7, TResult) Method (Expression(Func(T1, T2, T3, T4, T5, T6, T7, 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<T1, T2, T3, T4, T5, T6, T7, TResult>> Func<T1, T2, T3, T4, T5, T6, T7, TResult>(
	Expression<Func<T1, T2, T3, T4, T5, T6, T7, TResult>> funcExpression
)

VB

Public Shared Function Func(Of T1, T2, T3, T4, T5, T6, T7, TResult) ( 
	funcExpression As Expression(Of Func(Of T1, T2, T3, T4, T5, T6, T7, TResult))
) As Expression(Of Func(Of T1, T2, T3, T4, T5, T6, T7, TResult))

F#

static member Func : 
        funcExpression : Expression<Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'TResult>> -> Expression<Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'TResult>> 

Parameters

 

funcExpression
Type: System.Linq.Expressions.Expression(Func(T1, T2, T3, T4, T5, T6, T7, TResult))
The lambda expression.

Type Parameters

 

T1
The type of argument #1.
T2
The type of argument #2.
T3
The type of argument #3.
T4
The type of argument #4.
T5
The type of argument #5.
T6
The type of argument #6.
T7
The type of argument #7.
TResult
The result type.

Return Value

Type: Expression(Func(T1, T2, T3, T4, T5, T6, T7, TResult))
The lambda expression passed.

See Also

Reference

Expr Class
Func Overload
CodeJam.Expressions Namespace

Clone this wiki locally