Namespace: DeltaEngine.Tests.Extensions
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void MultipleScopesPushAndPopCorrectly() { var threadStatic = new ThreadStatic<int>(); using (threadStatic.Use(1)) { Assert.AreEqual(1, threadStatic.Current); TestMidScope(threadStatic); Assert.AreEqual(1, threadStatic.Current); } }
See Also