Table of Contents

Class CacheDependencyBuilderExtensions

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Provides extension methods for the CacheDependencyBuilder class.

public static class CacheDependencyBuilderExtensions
Inheritance
object
CacheDependencyBuilderExtensions

Methods

ForContentItems(CacheDependencyBuilder, bool)

Allows creation of cache dependencies for content items.

public static ContentItemCacheDependencyBuilder ForContentItems(this CacheDependencyBuilder cacheDependencyBuilder, bool inAllWorkflowStates = false)

Parameters

cacheDependencyBuilder CacheDependencyBuilder

Cache dependency builder.

inAllWorkflowStates bool

Indicates if content items in all workflow states should be cached. If not, only published ones are considered.

Returns

ContentItemCacheDependencyBuilder

A new instance of ContentItemCacheDependencyBuilder to further specify cache dependency.

See Also