AngouriMath
AngouriMath.Convenience.Setting`1
Classes within the AngouriMath.Convenience.Setting`1 namespace
AutoBackRollableTemporarySettingUnit
Summary
This tiny struct is needed to be under `using` operator, so that your settings
are automatically rolled back on the end of your method
using var _ = MathS.Settings.SomeSetting.Set(4); // do something, once the method is ended, the setting is automatically returned to the initial statement
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1534 pages online