Ejemplo n.º 1
0
        /// <summary>
        /// Converts AngleSharp Script to BrowseSharp Javascript
        /// </summary>
        /// <param name="scriptElement"></param>
        /// <returns></returns>
        private Javascript ConvertToJavascript(IHtmlScriptElement scriptElement)
        {
            Javascript javascript = new Javascript(scriptElement);

            return(javascript);
        }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="responseAsyncTask"></param>
 /// <param name="script"></param>
 public JavascriptRequestAsyncHandle(Task <HttpResponseMessage> responseAsyncTask, Javascript script)
 {
     ResponseAsyncTask = responseAsyncTask;
     Script            = script;
 }