Show / Hide Table of Contents

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 Source

DelegateTypeFactory()

Default constructor

Declaration
public DelegateTypeFactory()

Methods

| Improve this Doc View Source

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

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX