Skip to content

M_CodeJam_Reflection_InfoOf_1_Method__1

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

InfoOf(T).Method(TResult) Method (Expression(Func(T, TResult)))

Returns the method.

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

Syntax

C#

public static MethodInfo Method<TResult>(
	Expression<Func<T, TResult>> expression
)

VB

Public Shared Function Method(Of TResult) ( 
	expression As Expression(Of Func(Of T, TResult))
) As MethodInfo

F#

static member Method : 
        expression : Expression<Func<'T, 'TResult>> -> MethodInfo 

Parameters

 

expression
Type: System.Linq.Expressions.Expression(Func(T, TResult))
The expression to analyze.

Type Parameters

 

TResult
[Missing documentation for "M:CodeJam.Reflection.InfoOf1.Method``1(System.Linq.Expressions.Expression{System.Func{0,``0}})"]

Return Value

Type: MethodInfo
The MethodInfo instance.

See Also

Reference

InfoOf(T) Class
Method Overload
CodeJam.Reflection Namespace

Clone this wiki locally