ReflectionUtilities.

GetDelegate<T>(MethodInfo) Method

Summary

Creates a delegate of the specified type from `method`.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
ReflectionUtilities

Syntax

public static T GetDelegate<T>(this MethodInfo method) where T : class

Type Parameters

Name Description
T

Parameters

Name Type Description
method MethodInfo

Return Value

Type Description
T