Appearance
GetMethodInfo Method
Definition
- Namespace:
JASE.Expressions.Models - Assembly:
JASE.Expressions.dll
MethodInfo GetMethodInfo(string methodName, Type[] types, bool matchParameterTypes = null)
csharp
MethodInfo GetMethodInfo(string methodName, Type[] types, bool matchParameterTypes = null)Looks up a method by name and optionally by exact parameter signature.
Parameters
| Name | Description |
|---|---|
matchParameterTypes | If true, all parameter types must match exactly. If false, only arity (number of parameters) must match. |
methodName | The name of the method to search for. |
types | Optional parameter types for signature matching. |
Returns
The resolved MethodInfo if found; otherwise null.