Table of Contents

Method ClearSwitchValue

Namespace
MonoMod
Assembly
MonoMod.Utils.dll

ClearSwitchValue(string)

Clears the specified switch.
public static void ClearSwitchValue(string @switch)

Parameters

switch string
The switch to clear.

Remarks

The primary use of this method is to enable switch lookups to fall back to reading AppContext, if that is available on the current platform.