IdeaBlade.Core Assembly > IdeaBlade.Core.Reflection Namespace > TypeFns Class : GetMethodByExample<TIn,TOut> Method |
'Declaration
Public Shared Function GetMethodByExample (Of TIn,TOut)( _ ByVal prototypeLambda As Expression(Of Func(Of TIn,TOut)), _ ByVal ParamArray resolvedTypes() As Type _ ) As MethodInfo
'Usage
Dim prototypeLambda As Expression(Of Func(Of TIn,TOut)) Dim resolvedTypes() As Type Dim value As MethodInfo value = TypeFns.GetMethodByExample(Of TIn, TOut)(prototypeLambda, resolvedTypes)
public static MethodInfo GetMethodByExample<TIn,TOut>( Expression<Func<TIn,TOut>> prototypeLambda, params Type[] resolvedTypes )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2