Table of Contents

Class CacheDependencyBuilderExtensions

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Provides extension methods for the CacheDependencyBuilder class.

public static class CacheDependencyBuilderExtensions
Inheritance
object
CacheDependencyBuilderExtensions

Methods

ForInfoObjects<T>(CacheDependencyBuilder)

Allows creation of cache dependencies for the specified info object type.

public static InfoObjectCacheDependencyBuilder ForInfoObjects<T>(this CacheDependencyBuilder cacheDependencyBuilder) where T : BaseInfo

Parameters

cacheDependencyBuilder CacheDependencyBuilder

Cache dependency builder.

Returns

InfoObjectCacheDependencyBuilder

A new instance of InfoObjectCacheDependencyBuilder to further specify cache dependency.

Type Parameters

T

The type of info object to create dependencies for.

See Also

ForSettingKeys(CacheDependencyBuilder)

Allows creation of cache dependencies for the setting keys.

public static SettingKeyCacheDependencyBuilder ForSettingKeys(this CacheDependencyBuilder cacheDependencyBuilder)

Parameters

cacheDependencyBuilder CacheDependencyBuilder

Cache dependency builder.

Returns

SettingKeyCacheDependencyBuilder

A new instance of SettingKeyCacheDependencyBuilder to further specify cache dependency.

See Also