Méthode | Description | |
---|---|---|
ParameterizedCacheKey ( string keyForBothLanguages ) |
Creates a new parameter-based cache key to cache the same items regardless of the current language
|
|
ParameterizedCacheKey ( string englishKeyPrefix, string frenchKeyPrefix ) |
Creates a new parameter-based cache key to cache different items depending on the current language
|
|
WithParameter ( string parameter ) : ICacheKey |
Creates the parameter-specific cache key
|
public ParameterizedCacheKey ( string keyForBothLanguages ) | ||
keyForBothLanguages | string | The key prefix to share between both English and French content items |
public ParameterizedCacheKey ( string englishKeyPrefix, string frenchKeyPrefix ) | ||
englishKeyPrefix | string | English key prefix to put in front of the parameter |
frenchKeyPrefix | string | French key prefix to put in front of the parameter |
public WithParameter ( string parameter ) : ICacheKey | ||
parameter | string | The cache key suffix for parameterization |
Résultat | ICacheKey |