Property Current
- Namespace
- MonoMod.RuntimeDetour
- Assembly
- MonoMod.RuntimeDetour.dll
Current
Gets the DetourContext which is most local at the point which this is accessed.
public static DetourContext? Current { get; }
Property Value
Remarks
This will return the DetourContext which is on top of the context stack for the current thread, and if there are no contexts for the current thread, it will return the current global context, if any.
This property has very limited use. Consider using CurrentConfig, GetDefaultConfig(), CurrentFactory, or GetDefaultFactory() instead of this property.