Interface IContentCacheListingRemover
Remove contents listing from cache This interface supports the EPiServer infrastructure and is not intended to be used directly from your code.
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public interface IContentCacheListingRemover
Methods
RemoveDescendents(ContentReference)
Remove all cached contents that are direct or indirect children.
Declaration
void RemoveDescendents(ContentReference contentLink)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The content that defines the root node of the subtree. |
Remarks
Note that the contentlink is not removed from cache by this method.
RemoveListing(ContentReference)
Remove listing of contents from cache
Declaration
void RemoveListing(ContentReference contentLink)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The content to remove listing from cache |
RemoveSegment(ContentReference, String)
Remove segment cache for specified parent and urlsegment.
Declaration
void RemoveSegment(ContentReference parentLink, string urlSegment)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | parentLink | The parent link. |
System.String | urlSegment | The URL segment. |