Skip to content

M_CodeJam_Fn_Func__2

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

Fn.Func(T1, TResult) Method (Func(T1, TResult))

Helper for type inference from the lambda callback.

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

Syntax

C#

public static Func<T1, TResult> Func<T1, TResult>(
	Func<T1, TResult> func
)

VB

Public Shared Function Func(Of T1, TResult) ( 
	func As Func(Of T1, TResult)
) As Func(Of T1, TResult)

F#

static member Func : 
        func : Func<'T1, 'TResult> -> Func<'T1, 'TResult> 

Parameters

 

func
Type: System.Func(T1, TResult)
The lambda callback.

Type Parameters

 

T1
The type of argument #1.
TResult
The result type.

Return Value

Type: Func(T1, TResult)
The lambda callback passed.

See Also

Reference

Fn Class
Func Overload
CodeJam Namespace

Clone this wiki locally