Table of Contents

Method TryGetConfig

Namespace
MonoMod.RuntimeDetour
Assembly
MonoMod.RuntimeDetour.dll

TryGetConfig(out DetourConfig?)

Tries to get the DetourConfig provided by this context.
protected abstract bool TryGetConfig(out DetourConfig? config)

Parameters

config DetourConfig
The DetourConfig provided by this context.

Returns

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

Remarks

A context may return true, but return a null config. This is valid. This will cause config lookup to stop at this context, and return null, even if a later context would return one.