ToString() public method

public ToString ( ) : string
return string
コード例 #1
0
 public virtual ActionResult TemporaryRedirect(Url url)
 {
     return new ResourceResult(307, url.ToString()).WithHeader("Location", url.ToString());
 }
コード例 #2
0
 public virtual ActionResult Redirect(Url url)
 {
     return Redirect(url.ToString());
 }
コード例 #3
0
 public virtual ResourceResult SeeOther(Url url)
 {
     return new ResourceResult(303, null).WithHeader("Location", url.ToString());
 }
コード例 #4
0
 public virtual ResourceResult Created(Url url, object informationResource)
 {
     return new ResourceResult(201, informationResource).WithHeader("Location", url.ToString());
 }