Property CurrentFactory
- Namespace
- MonoMod.RuntimeDetour
- Assembly
- MonoMod.RuntimeDetour.dll
CurrentFactory
Gets the IDetourFactory active at the current location, if any.
public static IDetourFactory? CurrentFactory { get; }
Property Value
Remarks
This property is equivalent to the result of TryGetCurrentFactory(out IDetourFactory), except
that it returns null when no context provides a factory.