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

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

Public Methods

Method Description
CanOverride ( this methodBase ) : bool

Returns a value indicating whether the specified method is overrideable.

GetFullName ( this methodBase ) : string

Returns the full name of the specified method.

GetParameterTypes ( this methodBase ) : System.Type[]

Returns the parameter types of the specified method.

MapGenericParameterTypes ( this methodBase, Type genericTypes ) : System.Type[]

Maps the parameter types to the specified generic types.

Method Details

CanOverride() public static method

Returns a value indicating whether the specified method is overrideable.
public static CanOverride ( this methodBase ) : bool
methodBase this The method base.
return bool

GetFullName() public static method

Returns the full name of the specified method.
public static GetFullName ( this methodBase ) : string
methodBase this The method base.
return string

GetParameterTypes() public static method

Returns the parameter types of the specified method.
public static GetParameterTypes ( this methodBase ) : System.Type[]
methodBase this The method base.
return System.Type[]

MapGenericParameterTypes() public static method

Maps the parameter types to the specified generic types.
public static MapGenericParameterTypes ( this methodBase, Type genericTypes ) : System.Type[]
methodBase this The method base.
genericTypes System.Type The generic types.
return System.Type[]