Interface IAmbientScopeProvider<T>
Namespace: Volo.Abp.Threading
Assembly: Volo.Abp.Threading.dll
Syntax
public interface IAmbientScopeProvider<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
BeginScope(string, T)
Declaration
IDisposable BeginScope(string contextKey, T value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | contextKey | |
| T | value |
Returns
| Type | Description |
|---|---|
| IDisposable |
GetValue(string)
Declaration
T? GetValue(string contextKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string | contextKey |
Returns
| Type | Description |
|---|---|
| T |