Method GetOrCreateCache
GetOrCreateCache<TCacheStore>(string)
public TCacheStore GetOrCreateCache<TCacheStore>(string cacheName) where TCacheStore : IReflectionCache, new()
Parameters
cacheNamestring
Returns
- TCacheStore
Type Parameters
TCacheStore
GetOrCreateCache<TCacheStore>(string, Func<string, TCacheStore>)
public TCacheStore GetOrCreateCache<TCacheStore>(string cacheName, Func<string, TCacheStore> cacheFactory) where TCacheStore : IReflectionCache
Parameters
Returns
- TCacheStore
Type Parameters
TCacheStore