Skip to main content

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

NameTypeDescription
EqSessionCachingService(IHttpContextAccessor httpContextAccessor)voidInitializes a new instance of the Korzh.EasyQuery.Services.EqSessionCachingService class.

Methods

NameTypeDescription
GetValue(string key)stringGets the value from the cache.
PutValue(string key, string value)voidPuts the value to the cache