コード例 #1
0
 private static void EvaluateResponse(Response response, HttpResponseBase httpResponse)
 {
     response.MatchAction(
         content: x => httpResponse.Raw(x.Content, x.ContentType),
         xdoc: x => httpResponse.XDocument(x.Content, x.ContentType),
         redirect: x => httpResponse.Redirect(x.Location));
 }
コード例 #2
0
 private static void EvaluateResponse(Response response, HttpResponseBase httpResponse) {
     response.MatchAction(
         content: x => httpResponse.Raw(x.Content, x.ContentType),
         xdoc: x => httpResponse.XDocument(x.Content, x.ContentType),
         redirect: x => httpResponse.Redirect(x.Location));
 }