Class DelegateTypeFactory
A factory to create delegate types
Inheritance
System.Object
DelegateTypeFactory
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public class DelegateTypeFactory
Constructors
DelegateTypeFactory()
Default constructor
Declaration
public DelegateTypeFactory()
Methods
CreateDelegateType(MethodInfo)
Creates a delegate type for a method
Declaration
public Type CreateDelegateType(MethodInfo method)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.MethodInfo | method | The method |
Returns
Type | Description |
---|---|
System.Type | The new delegate type |