ImageProcessor.Web.Caching.DiskCache.RewritePath C# (CSharp) Method

RewritePath() public method

Rewrites the path to point to the cached image.
public RewritePath ( HttpContext context ) : void
context System.Web.HttpContext /// The encapsulating all information about the request. ///
return void
        public override void RewritePath(HttpContext context)
        {
            // The cached file is valid so just rewrite the path.
            context.RewritePath(this.virtualCachedFilePath, false);
        }
    }