Table of Contents

Method FindNonGenericMethod

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

FindNonGenericMethod(Type, string, Type[])

Finds a non-generic method in the specified type by name and exact parameter types.

public static MethodInfo? FindNonGenericMethod(Type type, string methodName, Type[] parameterTypes)

Parameters

type Type

The Type to search for the method.

methodName string

The name of the method to find.

parameterTypes Type[]

An array of Type objects representing the method's parameters.

Returns

MethodInfo

A MethodInfo representing the matched non-generic method, or null if no matching method is found.