OrleansGeneratedCodeHelper.GetMethodInfoOrDefault 方法

定义

获取 MethodInfo 与所提供的值匹配的 。

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

参数

interfaceType
Type

接口的类型。

methodName
String

方法的名称。

methodTypeParameters
Type[]

方法类型参数。

parameterTypes
Type[]

参数类型。

返回

相应的 MethodInfo

适用于