Show / Hide Table of Contents

Class InnerPrefix

An inner prefix that is applied inside some method call inside a method

Inheritance
System.Object
InnerFix
InnerPrefix
Inherited Members
InnerFix.InnerMethod
InnerFix.TargetFinder
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public class InnerPrefix : InnerFix

Constructors

| Improve this Doc View Source

InnerPrefix(InnerMethod)

Creates an infix for an implicit defined method call

Declaration
public InnerPrefix(InnerMethod innerMethod)
Parameters
Type Name Description
InnerMethod innerMethod

The method call to apply the fix to

| Improve this Doc View Source

InnerPrefix(Func<IEnumerable<CodeInstruction>, InnerMethod>)

Creates an infix for an indirectly defined method call

Declaration
public InnerPrefix(Func<IEnumerable<CodeInstruction>, InnerMethod> targetFinder)
Parameters
Type Name Description
System.Func<System.Collections.Generic.IEnumerable<CodeInstruction>, InnerMethod> targetFinder

Calculates Target from a given methods content

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