// Generating method code for construct
        public virtual net.sourceforge.htmlunit.corejs.javascript.Scriptable Construct(net.sourceforge.htmlunit.corejs.javascript.Context cx, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope, System.Object[] args)
        {
            return(WObj.construct(cx, scope, args));
        }
// Generating method code for removeEventListener
        public virtual void RemoveEventListener(string type, net.sourceforge.htmlunit.corejs.javascript.Scriptable listener, bool useCapture)
        {
            WObj.removeEventListener(type, listener, useCapture);
        }
// Generating method code for call
        public virtual object Call(net.sourceforge.htmlunit.corejs.javascript.Context cx, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope, net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj, System.Object[] args)
        {
            return(WObj.call(cx, scope, thisObj, args));
        }
示例#4
0
// Generating method code for callFunction
        public virtual object CallFunction(NHtmlUnit.Html.HtmlPage htmlPage, net.sourceforge.htmlunit.corejs.javascript.Function function, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope, net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObject, System.Object[] args)
        {
            return(WObj.callFunction((com.gargoylesoftware.htmlunit.html.HtmlPage)htmlPage.WrappedObject, function, scope, thisObject, args));
        }
示例#5
0
// Generating method code for call
        public virtual object Call(net.sourceforge.htmlunit.corejs.javascript.Context cx, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope, net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj, System.Object[] args)
        {
            var arg = WObj.call(cx, scope, thisObj, args);

            return(ObjectWrapper.CreateWrapper <object>(arg));
        }
示例#6
0
 public NodeIterator(NHtmlUnit.Javascript.Host.Dom.Node root, System.Double whatToShow, net.sourceforge.htmlunit.corejs.javascript.Scriptable filter)
     : this(new com.gargoylesoftware.htmlunit.javascript.host.dom.NodeIterator((com.gargoylesoftware.htmlunit.javascript.host.dom.Node)root.WrappedObject, whatToShow, filter))
 {
 }
示例#7
0
// Generating method code for callFunction
        public virtual object CallFunction(NHtmlUnit.Html.HtmlPage htmlPage, net.sourceforge.htmlunit.corejs.javascript.Function javaScriptFunction, net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObject, System.Object[] args, NHtmlUnit.Html.DomNode htmlElement)
        {
            return(WObj.callFunction((com.gargoylesoftware.htmlunit.html.HtmlPage)htmlPage.WrappedObject, javaScriptFunction, thisObject, args, (com.gargoylesoftware.htmlunit.html.DomNode)htmlElement.WrappedObject));
        }
示例#8
0
// Generating method code for createTreeWalker
        public virtual object CreateTreeWalker(NHtmlUnit.Javascript.Host.Node root, System.Double whatToShow, net.sourceforge.htmlunit.corejs.javascript.Scriptable filter, bool expandEntityReferences)
        {
            return(WObj.createTreeWalker((com.gargoylesoftware.htmlunit.javascript.host.Node)root.WrappedObject, whatToShow, filter, expandEntityReferences));
        }
示例#9
0
文件: Event.cs 项目: yape/NHtmlUnit
// Generating method code for setCurrentTarget
        public virtual void SetCurrentTarget(net.sourceforge.htmlunit.corejs.javascript.Scriptable target)
        {
            WObj.setCurrentTarget(target);
        }
示例#10
0
// Generating method code for executeJavaScriptFunctionIfPossible
        public virtual NHtmlUnit.ScriptResult ExecuteJavaScriptFunctionIfPossible(net.sourceforge.htmlunit.corejs.javascript.Function function, net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObject, System.Object[] args, NHtmlUnit.Html.DomNode htmlElementScope)
        {
            return(ObjectWrapper.CreateWrapper <NHtmlUnit.ScriptResult>(WObj.executeJavaScriptFunctionIfPossible(function, thisObject, args, (com.gargoylesoftware.htmlunit.html.DomNode)htmlElementScope.WrappedObject)));
        }
示例#11
0
// Generating method code for addEventListener
        public virtual bool AddEventListener(string type, net.sourceforge.htmlunit.corejs.javascript.Scriptable listener, bool useCapture)
        {
            return(WObj.addEventListener(type, listener, useCapture));
        }
示例#12
0
// Generating method code for callFunction
        public virtual object CallFunction(NHtmlUnit.InteractivePage page, net.sourceforge.htmlunit.corejs.javascript.Function function, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope, net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObject, System.Object[] args)
        {
            var arg = WObj.callFunction((com.gargoylesoftware.htmlunit.InteractivePage)page.WrappedObject, function, scope, thisObject, args);

            return(ObjectWrapper.CreateWrapper <object>(arg));
        }
示例#13
0
// Generating method code for execute
        public virtual object Execute(NHtmlUnit.InteractivePage page, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope, net.sourceforge.htmlunit.corejs.javascript.Script script)
        {
            var arg = WObj.execute((com.gargoylesoftware.htmlunit.InteractivePage)page.WrappedObject, scope, script);

            return(ObjectWrapper.CreateWrapper <object>(arg));
        }
示例#14
0
// Generating method code for compile
        public virtual net.sourceforge.htmlunit.corejs.javascript.Script Compile(NHtmlUnit.InteractivePage owningPage, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope, string sourceCode, string sourceName, int startLine)
        {
            return(WObj.compile((com.gargoylesoftware.htmlunit.InteractivePage)owningPage.WrappedObject, scope, sourceCode, sourceName, startLine));
        }
示例#15
0
// Generating method code for has
        public virtual bool Has(net.sourceforge.htmlunit.corejs.javascript.Scriptable target, string propertyKey)
        {
            return(WObj.has(target, propertyKey));
        }
// Generating method code for createNodeIterator
        public virtual NHtmlUnit.Javascript.Host.Dom.NodeIterator CreateNodeIterator(NHtmlUnit.Javascript.Host.Dom.Node root, System.Double whatToShow, net.sourceforge.htmlunit.corejs.javascript.Scriptable filter)
        {
            var arg = WObj.createNodeIterator((com.gargoylesoftware.htmlunit.javascript.host.dom.Node)root.WrappedObject, whatToShow, filter);

            return(ObjectWrapper.CreateWrapper <NHtmlUnit.Javascript.Host.Dom.NodeIterator>(arg));
        }