Exemple #1
0
        internal static void ClearCache(IPackage package)
        {
            ZipPackage package2 = package as ZipPackage;

            if (package2 != null)
            {
                MemoryCache.Instance.Remove(package2.GetAssembliesCacheKey());
                MemoryCache.Instance.Remove(package2.GetFilesCacheKey());
            }
        }