Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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);
 }