Provides an object which can be scoped and is static within a thread (e.g. tests). Based on
http://startbigthinksmall.wordpress.com/2008/04/24/nice-free-and-reusable-net-ambient-context-pattern-implementation/
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Extensions ThreadStatic T
Namespace: DeltaEngine.Extensions
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Type Parameters
- T
The ThreadStatic T type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ThreadStatic T | Initializes a new instance of the ThreadStatic T class | |
ThreadStatic T (T) | Initializes a new instance of the ThreadStatic T class |
Methods
Name | Description | |
---|---|---|
Use |
Properties
Name | Description | |
---|---|---|
Current | ||
CurrentOrDefault | ||
HasCurrent |
See Also