共用方式為


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

適用於