Table of Contents

Interface ILinkedItemsDependencyRetriever

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Interface for retrieving linked content item of content items.

public interface ILinkedItemsDependencyRetriever
Extension Methods

Methods

Get(IEnumerable<int>, int)

Gets cache dependency keys of linked content items for given content item up to a given level.

IEnumerable<string> Get(IEnumerable<int> contentItemIds, int maxLevel)

Parameters

contentItemIds IEnumerable<int>

Collection of IDs of the content items for which the cache dependency keys are retrieved.

maxLevel int

Specifies the maximum level of linked items to include. If the value is negative or zero, only the linked items from the first level are retrieved.

Returns

IEnumerable<string>

Get(int, int)

Gets cache dependency keys of linked content items for given content item up to a given level.

IEnumerable<string> Get(int contentItemId, int maxLevel)

Parameters

contentItemId int

ID of the content item for which the cache dependency keys are retrieved.

maxLevel int

Specifies the maximum level of linked items to include. If the value is negative or zero, only the linked items from the first level are retrieved.

Returns

IEnumerable<string>