Skip to content

M_CodeJam_Reflection_InfoOf_Method__2

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

InfoOf.Method(T, 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<T, TResult>(
	Expression<Func<T, TResult>> expression
)

VB

Public Shared Function Method(Of T, 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

 

T
[Missing documentation for "M:CodeJam.Reflection.InfoOf.Method2(System.Linq.Expressions.Expression{System.Func{0,1}})"\]</dd><dt>TResult</dt><dd>\[Missing <typeparam name="TResult"/> documentation for "M:CodeJam.Reflection.InfoOf.Method2(System.Linq.Expressions.Expression{System.Func{0,1}})"]

Return Value

Type: MethodInfo
The MethodInfo instance.

See Also

Reference

InfoOf Class
Method Overload
CodeJam.Reflection Namespace

Clone this wiki locally