OrleansGeneratedCodeHelper.GetMethodInfoOrDefault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.