Interface IContentInstanceCache
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Supporting API to content provider that deals with reading and inserting IContent into cache
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IContentInstanceCache
Methods
CreateCacheSettings(ContentReference)
Declaration
CacheSettings CreateCacheSettings(ContentReference contentLink)
Parameters
Returns
Insert(IContent, String, CacheEvictionPolicy)
Declaration
void Insert(IContent content, string language, CacheEvictionPolicy evictionPolicy)
Parameters
ReadThrough(ContentReference, String, Func<IContent>)
Declaration
IContent ReadThrough(ContentReference contentLink, string selectedLanguage, Func<IContent> readValue)
Parameters
Returns
TryGet(ContentReference, String, out IContent)
Declaration
bool TryGet(ContentReference contentLink, string language, out IContent instance)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Extension Methods