Edit

Share via


OrleansGeneratedCodeHelper.GetMethodInfoOrDefault Method

Definition

Gets the MethodInfo matching the provided values.

public static System.Reflection.MethodInfo GetMethodInfoOrDefault (Type interfaceType, string methodName, Type[] methodTypeParameters, Type[] parameterTypes);
static member GetMethodInfoOrDefault : Type * string * Type[] * Type[] -> System.Reflection.MethodInfo
Public Function GetMethodInfoOrDefault (interfaceType As Type, methodName As String, methodTypeParameters As Type(), parameterTypes As Type()) As MethodInfo

Parameters

interfaceType
Type

Type of the interface.

methodName
String

Name of the method.

methodTypeParameters
Type[]

The method type parameters.

parameterTypes
Type[]

The parameter types.

Returns

The corresponding MethodInfo.

Applies to