コード例 #1
0
 public static string BuildAbsoluteUrlFromExpression <TController>(this RequestContext requestContext, Expression <Action <TController> > action, bool replaceDefaultsWithPlaceholder = false, object routeData = null)
     where TController : Controller
 {
     return(requestContext.BuildUrlFromExpression(action, replaceDefaultsWithPlaceholder, routeData).ToAbsoluteUrlWith(requestContext.HttpContext.Request.GetRootUrl()));
 }