コード例 #1
0
ファイル: Browser.cs プロジェクト: spewu/SimpleBrowser
        public Browser CreateReferenceView()
        {
            Browser b = new Browser
            {
                Cookies              = Cookies,
                _doc                 = _doc,
                _extraHeaders        = _extraHeaders,
                _includeFormValues   = _includeFormValues,
                _lastRequestLog      = _lastRequestLog,
                _logs                = _logs,
                _proxy               = _proxy,
                _timeoutMilliseconds = _timeoutMilliseconds,
                Accept               = Accept,
                LastWebException     = LastWebException,
                MessageLogged        = MessageLogged,
                RetainLogs           = RetainLogs,
                UserAgent            = UserAgent
            };

            b.AddNavigationState(this.CurrentState);
            return(b);
        }