Table of Contents

Class DetourFactory

Namespace
MonoMod.Core
Assembly
MonoMod.Core.dll
Provides access to a default, PlatformTriple-based IDetourFactory, as well as extension methods to make using IDetourFactory easier.
[CLSCompliant(true)]
public static class DetourFactory
Inheritance
DetourFactory

Properties

Current
Gets the current (default) IDetourFactory. This is always the PlatformTriple-based IDetourFactory.

Methods

CreateDetour(IDetourFactory, MethodBase, MethodBase, bool)
Creates a managed detour from source to target.
CreateNativeDetour(IDetourFactory, nint, nint, bool)
Creates a native detour from source to target.