Searches for the specified public method whose parameters match the specified argument types.
Declaring type: Extensions
Namespace: Zyan.Communication.Toolbox
Assembly: Zyan.Communication
Collapse/Expand Syntax
C#
public static MethodInfo GetMethod (
        Type type,
        string methodName,
        Type[] genericArguments,
        Type[] argumentTypes
) 
Parameters
type
Type to inspect
methodName
Method name
genericArguments
List of generic arguments
argumentTypes
Argument types
Return Value
MethodInfo it method is found, otherwise, null