C# 클래스 GSoft.Dynamite.Cache.ParameterizedCacheKey

Parameterized cache key
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010

공개 메소드들

메소드 설명
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

메소드 상세

ParameterizedCacheKey() 공개 메소드

Creates a new parameter-based cache key to cache the same items regardless of the current language
public ParameterizedCacheKey ( string keyForBothLanguages )
keyForBothLanguages string The key prefix to share between both English and French content items

ParameterizedCacheKey() 공개 메소드

Creates a new parameter-based cache key to cache different items depending on the current language
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

WithParameter() 공개 메소드

Creates the parameter-specific cache key
public WithParameter ( string parameter ) : ICacheKey
parameter string The cache key suffix for parameterization
리턴 ICacheKey