WebCache/WebCache.cs
/// <summary>
/// Deletes all files in the cache.
/// </summary>
Deletes all files in the cache.
Deletes all files in the cache .
public void CleanCache()
        {
            logger?.LogInformation("Deleting entire cache.");
            if (Directory.Exists(CachePath))
            {
                Directory.Delete(CachePath, true);
            }
        }
public void CleanCache ( ) { logger ? . LogInformation ( " " ) ; if ( Directory . Exists ( CachePath ) ) { Directory . Delete ( CachePath , true ) ; } }
Deletes all files in the cache.
Deletes all files in the cache .