1. Stylelabs.M.Sdk.WebClient

Class WebDefaults.TranslationsCache

Setting for the translations cache.

Inheritance

object

WebDefaults.TranslationsCache

Namespace: StylelabsStylelabs.MSdkWebClient

Assembly: Stylelabs.M.Sdk.WebClient.dll

Syntax

public static class WebDefaults.TranslationsCache

Properties

CacheDuration

Gets or sets how long a definition should be cached.

Declaration

public static TimeSpan CacheDuration { get; set; }

Property Value

TypeDescription
TimeSpan

SlidingExpiration

Gets or sets a value indicating whether if the cache should use sliding expiration.

Declaration

public static bool SlidingExpiration { get; set; }

Property Value

TypeDescription
bool
If you have suggestions for improving this article, let us know!