C# Class GSoft.Dynamite.Cache.SimpleCacheKey

Simple cache key
Inheritance: ICacheKey
Mostrar archivo Open project: GSoft-SharePoint/Dynamite-2010

Public Methods

Method Description
SimpleCacheKey ( string keyForBothLanguages ) : System.Collections.Generic

Creates a new simple cache key to cache the same items regardless of the current language

SimpleCacheKey ( string englishKey, string frenchKey ) : System.Collections.Generic

Creates a new simple cache key to cache different items depending on the current language

Private Methods

Method Description
BuildSecurityGroupDiscriminatorPrefix ( ) : string

Method Details

SimpleCacheKey() public method

Creates a new simple cache key to cache the same items regardless of the current language
public SimpleCacheKey ( string keyForBothLanguages ) : System.Collections.Generic
keyForBothLanguages string The key to share between both English and French content items
return System.Collections.Generic

SimpleCacheKey() public method

Creates a new simple cache key to cache different items depending on the current language
public SimpleCacheKey ( string englishKey, string frenchKey ) : System.Collections.Generic
englishKey string English key
frenchKey string French key
return System.Collections.Generic