C# Class NProxy.Core.Internal.Reflection.MethodInfoExtensions

Provides MethodInfo extension methods.
Exibir arquivo Open project: mtamme/NProxy

Public Methods

Method Description
MapGenericMethod ( this methodInfo, Type genericTypes ) : MethodInfo

Maps a method to the specified generic types.

MapGenericReturnType ( this methodInfo, Type genericTypes ) : Type

Maps a return type to the specified generic types.

Method Details

MapGenericMethod() public static method

Maps a method to the specified generic types.
public static MapGenericMethod ( this methodInfo, Type genericTypes ) : MethodInfo
methodInfo this The method information.
genericTypes System.Type The generic types.
return System.Reflection.MethodInfo

MapGenericReturnType() public static method

Maps a return type to the specified generic types.
public static MapGenericReturnType ( this methodInfo, Type genericTypes ) : Type
methodInfo this The method information.
genericTypes System.Type The generic types.
return System.Type