Class AmbientDataContextAmbientScopeProvider<T>
Inheritance
System.Object
AmbientDataContextAmbientScopeProvider<T>
Assembly: Volo.Abp.Threading.dll
Syntax
public class AmbientDataContextAmbientScopeProvider<T> : object, 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 |
System.String |
contextKey |
|
T |
value |
|
Returns
Type |
Description |
IDisposable |
|
GetValue(String)
Declaration
public T GetValue(string contextKey)
Parameters
Type |
Name |
Description |
System.String |
contextKey |
|
Returns
Implements
Extension Methods