Table of Contents

Method TryGetFactory

Namespace
MonoMod.RuntimeDetour
Assembly
MonoMod.RuntimeDetour.dll

TryGetFactory(out IDetourFactory)

Tries to get the IDetourFactory provided by this context.
protected override bool TryGetFactory(out IDetourFactory detourFactory)

Parameters

detourFactory IDetourFactory
The provided factory, if any.

Returns

bool
true if this context was able to provide a IDetourFactory; false otherwise.