Class DelegateTypeFactory
A factory to create delegate types
Inheritance
System.Object
DelegateTypeFactory
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public class DelegateTypeFactory
Constructors
| Improve this Doc View SourceDelegateTypeFactory()
Default constructor
Declaration
public DelegateTypeFactory()
Methods
| Improve this Doc View SourceCreateDelegateType(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 |