/// <summary> /// Gets the virtual path for the specified rewrite. /// </summary> /// <param name="rewriteFor">The required rewrite.</param> /// <returns>The virtual path for the rewrite.</returns> private string GetRewriteVirtualPath(RewriteFor rewriteFor) { // Get the virtual path for the rewrite and return it to the caller. return SilkveilConfiguration.Instance.Rewrites.Find(r => r.For == rewriteFor).VirtualUri; }
/// <summary> /// Gets the virtual path for the specified rewrite. /// </summary> /// <param name="rewriteFor">The required rewrite.</param> /// <returns>The virtual path for the rewrite.</returns> private string GetRewriteVirtualPath(RewriteFor rewriteFor) { // Get the virtual path for the rewrite and return it to the caller. return(SilkveilConfiguration.Instance.Rewrites.Find(r => r.For == rewriteFor).VirtualUri); }