Enhanced C#
Language of your choice: library documentation
|
Designed to be used in a "using" statement to temporarily alter a ThreadLocalVariable<T> or Holder<T> or something else implementing IHasMutableValue<T>. More...
Designed to be used in a "using" statement to temporarily alter a ThreadLocalVariable<T> or Holder<T> or something else implementing IHasMutableValue<T>.
Public fields | |
readonly T | _oldValue |
readonly IHasMutableValue< T > | _valueHolder |
Properties | |
T | OldValue [get] |
Public Member Functions | |
SavedValue (IHasMutableValue< T > oldValue, T newValue) | |
void | Dispose () |