Used to hold a value that is specific to a session.
More...
Inherits OpenTap.ISessionLocal.
|
| | SessionLocal (T rootValue, bool autoDispose=true) |
| | Used to hold a value that is specific to a session. Initializes a session local with a root/default value. More...
|
| |
| | SessionLocal (bool autoDispose=true) |
| | Used to hold a value that is specific to a session. Initializes a session local without a root/default value. More...
|
| |
|
|
bool | AutoDispose [get] |
| | Automatically dispose the value when all threads in the session has completed. Only has any effect if T is IDisposable
|
| |
|
T | Value [getset] |
| | Session specific value.
|
| |
Used to hold a value that is specific to a session.
◆ SessionLocal() [1/2]
Used to hold a value that is specific to a session. Initializes a session local with a root/default value.
- Parameters
-
| rootValue | Default value set at the root session. |
| autoDispose | True to automatically dispose the value when all threads in the session has completed. Only has any effect if T is IDisposable. |
◆ SessionLocal() [2/2]
Used to hold a value that is specific to a session. Initializes a session local without a root/default value.
- Parameters
-
| autoDispose | True to automatically dispose the value when all threads in the session has completed. Only has any effect if T is IDisposable. |