Browse documentation

Class DelegateTypeFactory

Namespace
HarmonyLib
Assembly
0Harmony.dll

A factory to create delegate types

public class DelegateTypeFactory
Inheritance
object
DelegateTypeFactory

Constructors

DelegateTypeFactory()

Default constructor

public DelegateTypeFactory()

Methods

CreateDelegateType(MethodInfo)

Creates a delegate type for a method

public Type CreateDelegateType(MethodInfo method)

Parameters

method MethodInfo

The method

Returns

Type

The new delegate type

Harmony 3 preview

For the stable release, read the 2.x documentation.