/// <summary> /// Gets the handler from the cache, if it has been stored there. /// </summary> /// <returns>An instanciated CustomRedirectHandler if found in the cache, null if not found</returns> private static CustomRedirectHandler GetHandlerFromCache() { CustomRedirectHandler handler = null; handler = EPiServer.CacheManager.Get(CACHE_KEY_CUSTOM_REDIRECT_HANDLER_INSTANCE) as CustomRedirectHandler; return(handler); }
/// <summary> /// Stores the redirect handler in the cache /// </summary> private static void StoreHandlerInCache(CustomRedirectHandler handler) { EPiServer.CacheManager.Insert(CacheKeyCustomRedirectHandlerInstance, handler); }
/// <summary> /// Stores the redirect handler in the cache /// </summary> private static void StoreHandlerInCache(CustomRedirectHandler handler) { EPiServer.CacheManager.Insert(CACHE_KEY_CUSTOM_REDIRECT_HANDLER_INSTANCE, handler); }
/// <summary> /// Stores the redirect handler in the cache /// </summary> private static void StoreHandlerInCache(CustomRedirectHandler handler) { EPiServer.CacheManager.Insert(CACHE_KEY_CUSTOM_REDIRECT_HANDLER_INSTANCE, handler); }