Class DelegateTypeFactory
- Namespace
- HarmonyLib
- Assembly
- 0Harmony.dll
A factory to create delegate types
public class DelegateTypeFactory
- Inheritance
-
objectDelegateTypeFactory
Constructors
DelegateTypeFactory()
Default constructor
public DelegateTypeFactory()
Methods
CreateDelegateType(MethodInfo)
Creates a delegate type for a method
public Type CreateDelegateType(MethodInfo method)
Parameters
methodMethodInfoThe method
Returns
- Type
The new delegate type