TIn
TOut
IdeaBlade DevForce 2010 Help Reference
GetMethodByExample<TIn,TOut> Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > TypeFns Class : GetMethodByExample<TIn,TOut> Method



prototypeLambda
resolvedTypes
For internal use only.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetMethodByExample
    (Of TIn,TOut)( _
   ByVal prototypeLambda As Expression(Of Func(Of TIn,TOut)), _
   ByVal ParamArray resolvedTypes() As Type _
) As MethodInfo
Visual Basic (Usage)Copy Code
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)
C# 
public static MethodInfo GetMethodByExample<TIn,TOut>( 
   Expression<Func<TIn,TOut>> prototypeLambda,
   params Type[] resolvedTypes
)
C++/CLI 
public:
static MethodInfo^ GetMethodByExamplegeneric<typename TIn>
generic<typename TOut>
( 
   Expression<Func<TIn^,TOut^>^>^ prototypeLambda,
   ... array<Type^>^ resolvedTypes
) 

Parameters

prototypeLambda
resolvedTypes

Type Parameters

TIn
TOut

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.