Table of Contents

Method Use

Namespace
MonoMod.RuntimeDetour
Assembly
MonoMod.RuntimeDetour.dll

Use()

Pushes this detour context to the top of this thread's context stack, and returns a DataScope which can be used in a using block to automatically pop it from the context stack.
[CLSCompliant(false)]
public DataScope Use()

Returns

DataScope
A DataScope which manages the lifetime of this context on the context stack.