Skip to content

IMonoDetourHook Interface

A MonoDetour Hook interface.

C#
public interface IMonoDetourHook : IReadOnlyMonoDetourHook, IDisposable

Applies the hook if it was not already applied.

C#
void Apply()

Undoes the hook if it was applied.

C#
void Undo()