/// <summary>
 /// Rewrites the <see cref="CurrentVirtualPath"/>, thus also affecting <see cref="MapPath"/>
 /// </summary>
 public static IDisposable RewritePath(string newVirtualPath, bool rebaseClientPath)
 {
     return(instance.RewritePath(newVirtualPath, rebaseClientPath));
 }