Table of Contents

Class CacheDependencyBuilderExtensions

Namespace
CMS.Websites
Assembly
CMS.Websites.dll

Provides extension methods for the CacheDependencyBuilder class.

public static class CacheDependencyBuilderExtensions
Inheritance
object
CacheDependencyBuilderExtensions

Methods

ForWebPageItems(CacheDependencyBuilder, bool)

Allows creation of cache dependencies for web page items.

public static WebPageItemCacheDependencyBuilder ForWebPageItems(this CacheDependencyBuilder cacheDependencyBuilder, bool inAllWorkflowStates = false)

Parameters

cacheDependencyBuilder CacheDependencyBuilder

Cache dependency builder.

inAllWorkflowStates bool

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

Returns

WebPageItemCacheDependencyBuilder

A new instance of WebPageItemCacheDependencyBuilder to further specify cache dependency.

See Also