Extract the MethodInfo from a given expression.

Namespace: NHibernate.Linq
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static MethodInfo GetMethodDefinition(
	Expression<Action> method
)
Visual Basic
Public Shared Function GetMethodDefinition ( _
	method As Expression(Of Action) _
) As MethodInfo
Visual C++
public:
static MethodInfo^ GetMethodDefinition(
	Expression<Action^>^ method
)

Parameters

method
Type: System.Linq.Expressions..::..Expression<(Of <(<'Action>)>)>
The method.

Return Value

The MethodInfo of the no-generic method or the generic-definition for a generic-method.

See Also