Class SettingKeyCacheDependencyBuilder
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Represents a builder for cache dependencies of setting keys. CacheDependencyBuilder SettingsKeyInfo
public sealed class SettingKeyCacheDependencyBuilder
- Inheritance
-
objectSettingKeyCacheDependencyBuilder
- Extension Methods
Methods
Builder()
Returns the root CacheDependencyBuilder.
public CacheDependencyBuilder Builder()
Returns
ByCodeName(IEnumerable<string>)
Adds a dependency on setting keys with the given code names.
public SettingKeyCacheDependencyBuilder ByCodeName(IEnumerable<string> codeNames)
Parameters
codeNames
IEnumerable<string>Collection of setting key code names.
Returns
- SettingKeyCacheDependencyBuilder
The SettingKeyCacheDependencyBuilder instance for method chaining.
ByCodeName(string)
Adds a dependency on setting key with the given code name.
public SettingKeyCacheDependencyBuilder ByCodeName(string codeName)
Parameters
codeName
stringThe code name of the setting key.
Returns
- SettingKeyCacheDependencyBuilder
The SettingKeyCacheDependencyBuilder instance for method chaining.