TGuardConsoleVariable

Utility class to modify a console variable's value for a certain scope and restore it to its previous value afterwards.