BuildMaster SDK Reference
Version:

GetMethodWithSignature(System.Type type, string methodName, System.Collections.Generic.IEnumerable<System.Type> argTypes) Method

Returns the first matching method with a signature compatible to the specified argument types.

Syntax

public static System.Reflection.MethodInfo GetMethodWithSignature(System.Type type, string methodName, IEnumerable<System.Type> argTypes)

Parameters

type
Type: System.Type

The object type which contains the method.

methodName
Type: string

The name of the method.

argTypes
Type: System.Collections.Generic.IEnumerable<System.Type>

The types of the arguments supplied to the method.

Returns

First matching System.Reflection.MethodInfo or null (Nothing in Visual Basic) if no matching method was found.