Enhanced C#
Language of your choice: library documentation
Public fields | Properties | Public Member Functions | List of all members
Loyc.Threading.SavedThreadLocal< T > Struct Template Reference

Designed to be used in a "using" statement to temporarily alter a ThreadLocal<T>. More...


Source file:
Inheritance diagram for Loyc.Threading.SavedThreadLocal< T >:

Remarks

Designed to be used in a "using" statement to temporarily alter a ThreadLocal<T>.

Public fields

_oldValue
 
ThreadLocal< T > _variable
 

Properties

OldValue [get]
 
Value [get]
 

Public Member Functions

 SavedThreadLocal (ThreadLocal< T > variable, T newValue)
 
void Dispose ()