Interface ICacheItemConverter
Simple converter contract used by the serializer cache item. Serializers will use that to convert back to The CacheItem<T>.
Namespace:CacheManager.Core.Internal
Assembly:CacheManager.Core.dll
Syntax
public interface ICacheItemConverter
Methods
| Improve this Doc View SourceToCacheItem<TTarget>()
Converts the current instance to a CacheItem<T>. The returned item must return the orignial created and last accessed date!
Declaration
CacheItem<TTarget> ToCacheItem<TTarget>()
Returns
Type | Description |
---|---|
CacheItem<TTarget> | The cache item. |
Type Parameters
Name | Description |
---|---|
TTarget | The type. |