Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReflectionUtils.MapInterfaceMethodToImplementationIfNecessary Method

Resolves a given methodInfo to the MethodInfo representing the actual implementation.

[Visual Basic]
Public Shared Sub MapInterfaceMethodToImplementationIfNecessary( _
   ByVal methodInfo As MethodInfo, _
   ByVal implementingType As Type _
)
[C#]
public static MethodInfo MapInterfaceMethodToImplementationIfNecessary(
   MethodInfo methodInfo,
   Type implementingType
);

Parameters

methodInfo
a MethodInfo
implementingType
the type to lookup

Return Value

the MethodInfo representing the actual implementation method of the specified methodInfo

Remarks

see article How To Get an Explicit Interface Implementation Method.

See Also

ReflectionUtils Class | Spring.Util Namespace