Class CacheDependencyBuilderExtensions
Provides extension methods for the CacheDependencyBuilder class.
public static class CacheDependencyBuilderExtensions
- Inheritance
-
objectCacheDependencyBuilderExtensions
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
CacheDependencyBuilderCache dependency builder.
inAllWorkflowStates
boolIndicates 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