Class InnerPostfix
An inner postfix that is applied inside some method call inside a method
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public class InnerPostfix : InnerFix
Constructors
| Improve this Doc View SourceInnerPostfix(InnerMethod)
Creates an infix for an implicit defined method call
Declaration
public InnerPostfix(InnerMethod innerMethod)
Parameters
Type | Name | Description |
---|---|---|
InnerMethod | innerMethod | The method call to apply the fix to |
InnerPostfix(Func<IEnumerable<CodeInstruction>, InnerMethod>)
Creates an infix for an indirectly defined method call
Declaration
public InnerPostfix(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 |