Method GetMethodOrThrow
GetMethodOrThrow(Type, string)
Declaration
public static MethodInfo GetMethodOrThrow(this Type type, string methodName)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | |
| string | methodName |
Returns
| Type | Description |
|---|---|
| MethodInfo |
GetMethodOrThrow(Type, string, BindingFlags)
Declaration
public static MethodInfo GetMethodOrThrow(this Type type, string methodName, BindingFlags bindingFlags)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | |
| string | methodName | |
| BindingFlags | bindingFlags |
Returns
| Type | Description |
|---|---|
| MethodInfo |