Class AmbientDataContextAmbientScopeProvider<T>
Inheritance
AmbientDataContextAmbientScopeProvider<T>
Assembly: Volo.Abp.Threading.dll
Syntax
public class AmbientDataContextAmbientScopeProvider<T> : IAmbientScopeProvider<T>
Type Parameters
Constructors
AmbientDataContextAmbientScopeProvider(IAmbientDataContext)
Declaration
public AmbientDataContextAmbientScopeProvider(IAmbientDataContext dataContext)
Parameters
Properties
Logger
Declaration
public ILogger<AmbientDataContextAmbientScopeProvider<T>> Logger { get; set; }
Property Value
Methods
BeginScope(string, T)
Declaration
public IDisposable BeginScope(string contextKey, T value)
Parameters
Type |
Name |
Description |
string |
contextKey |
|
T |
value |
|
Returns
GetValue(string)
Declaration
public T? GetValue(string contextKey)
Parameters
Type |
Name |
Description |
string |
contextKey |
|
Returns
Implements
Extension Methods