Esempio n. 1
0
 public override string GetUriByAddress <TAddress>(TAddress address, RouteValueDictionary values, string scheme, HostString host, PathString pathBase = default, FragmentString fragment = default, LinkOptions options = null) =>
 inner.GetUriByAddress(address, values, scheme, host, pathBase, fragment, options);
Esempio n. 2
0
 /// <summary>
 /// Generates a URL with an absolute path from the specified route values and link options.
 /// A return value indicates whether the operation succeeded.
 /// </summary>
 /// <param name="httpContext">The <see cref="HttpContext"/> associated with current request.</param>
 /// <param name="values">An object that contains route values.</param>
 /// <param name="options">The <see cref="LinkOptions"/>.</param>
 /// <param name="link">The generated URL.</param>
 /// <returns><c>true</c> if a URL was generated successfully; otherwise, <c>false</c>.</returns>
 public bool TryGetLink(HttpContext httpContext, object values, LinkOptions options, out string link)
 {
     return(TryGetLink(httpContext, routeName: null, values, options, out link));
 }
Esempio n. 3
0
 public override string GetUriByAddress <TAddress>(HttpContext httpContext, TAddress address, RouteValueDictionary values, RouteValueDictionary ambientValues = null, string scheme = null, HostString?host = null, PathString?pathBase = null, FragmentString fragment = default, LinkOptions options = null) =>
 inner.GetUriByAddress(httpContext, address, values, ambientValues, scheme, host, pathBase, fragment, options);