Class CacheDependencyBuilderExtensions
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Provides extension methods for the CacheDependencyBuilder class.
public static class CacheDependencyBuilderExtensions
- Inheritance
-
objectCacheDependencyBuilderExtensions
Methods
ForContentItems(CacheDependencyBuilder, bool)
Allows creation of cache dependencies for content items.
public static ContentItemCacheDependencyBuilder ForContentItems(this CacheDependencyBuilder cacheDependencyBuilder, bool inAllWorkflowStates = false)
Parameters
cacheDependencyBuilder
CacheDependencyBuilderCache dependency builder.
inAllWorkflowStates
boolIndicates 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