示例#1
0
        private WebForm(WebCallResult result)
        {
            Cookies      = result.Cookies;
            _originalUrl = result.RequestUrl.OriginalString;

            _html = new HtmlDocument();
            result.LoadResultTo(_html);

            _responceBaseUrl = result.ResponseUrl.GetLeftPart(UriPartial.Authority);

            _inputs = ParseInputs();
        }
示例#2
0
        private WebForm(WebCallResult result)
        {
            Cookies = result.Cookies;
            _originalUrl = result.RequestUrl.OriginalString;

            _html = new HtmlDocument();
            result.LoadResultTo(_html);

            _responceBaseUrl = result.ResponseUrl.GetLeftPart(UriPartial.Authority);

            _inputs = ParseInputs();
        }
示例#3
0
 public static WebForm From(WebCallResult result)
 {
     return(new WebForm(result));
 }
示例#4
0
 public static WebForm From(WebCallResult result)
 {
     return new WebForm(result);
 }