eqsessioncachingservice-class
Represents an implemenation of Korzh.EasyQuery.Services.IEqCachingService which uses Session for storing cached objects.
public class Korzh.EasyQuery.Services.EqSessionCachingService
: IEqCachingService
Assembly: Korzh.EasyQuery.AspNetCore.dll
Constructors
Name | Type | Description |
---|---|---|
EqSessionCachingService(IHttpContextAccessor httpContextAccessor) | void | Initializes a new instance of the Korzh.EasyQuery.Services.EqSessionCachingService class. |
Methods
Name | Type | Description |
---|---|---|
GetValue(string key) | string | Gets the value from the cache. |
PutValue(string key, string value) | void | Puts the value to the cache |