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 |
---|---|---|
System.String | contextKey | |
T | value |
Returns
Type | Description |
---|---|
IDisposable |
GetValue(String)
Declaration
T GetValue(string contextKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | contextKey |
Returns
Type | Description |
---|---|
T |