CachingService()
Initializes a new instance of the CachingService class without a backend. Set the Backend property before the first call to a cached method; until it is set, calling a cached method throws a CachingException.
Declaration
public CachingService()CachingService(CachingBackend, CacheKeyBuilder)
Initializes a new instance of the CachingService class.
Declaration
public CachingService(CachingBackend backend, CacheKeyBuilder keyBuilder = null)Parameters
| Type | Name | Description |
|---|---|---|
| CachingBackend | backend | The backend that stores the cached items. |
| CacheKeyBuilder | keyBuilder | The key builder, or |