Table of Contents

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
object
SettingKeyCacheDependencyBuilder
Extension Methods

Methods

Builder()

Returns the root CacheDependencyBuilder.

public CacheDependencyBuilder Builder()

Returns

CacheDependencyBuilder

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 string

The code name of the setting key.

Returns

SettingKeyCacheDependencyBuilder

The SettingKeyCacheDependencyBuilder instance for method chaining.