Show / Hide Table of Contents

Class DelegateTypeFactory

A factory to create delegate types

Inheritance
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
MethodInfo method

The method

Returns
Type Description
Type

The new delegate type

In this article
Back to top Generated by DocFX