Argentini.Halide.H3Caching.CacheValid C# (CSharp) Méthode

CacheValid() public static méthode

Output caching wrapper method. Determines if a cached item exists or not.
public static CacheValid ( String key ) : bool
key String Unique name of the cached item
Résultat bool
        public static bool CacheValid(String key)
        {
            bool retVal = false;

            if (HttpContext.Current.Cache[key] != null)
            {
                retVal = true;
            }

            return retVal;
        }