当前位置: 首页>>代码示例>>C#>>正文


C# NHtmlUnit类代码示例

本文整理汇总了C#中NHtmlUnit的典型用法代码示例。如果您正苦于以下问题:C# NHtmlUnit类的具体用法?C# NHtmlUnit怎么用?C# NHtmlUnit使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


NHtmlUnit类属于命名空间,在下文中一共展示了NHtmlUnit类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: AddDomChangeListener

 // Generating method code for addDomChangeListener
 public virtual void AddDomChangeListener(NHtmlUnit.Html.IDomChangeListener listener)
 {
     WObj.addDomChangeListener((com.gargoylesoftware.htmlunit.html.DomChangeListener)listener.WrappedObject);
 }
开发者ID:random-username,项目名称:NHtmlUnit,代码行数:5,代码来源:DomNode.cs

示例2: DomCDataSection

 public DomCDataSection(NHtmlUnit.SgmlPage page, string data)
     : this(new com.gargoylesoftware.htmlunit.html.DomCDataSection((com.gargoylesoftware.htmlunit.SgmlPage)page.WrappedObject, data))
 {
 }
开发者ID:GeirGrusom,项目名称:NHtmlUnit,代码行数:4,代码来源:DomCDataSection.cs

示例3: ProcessSynchron

 // Generating method code for processSynchron
 public virtual bool ProcessSynchron(NHtmlUnit.Html.HtmlPage page, NHtmlUnit.WebRequest request, bool async)
 {
     return WObj.processSynchron((com.gargoylesoftware.htmlunit.html.HtmlPage)page.WrappedObject, (com.gargoylesoftware.htmlunit.WebRequest)request.WrappedObject, async);
 }
开发者ID:random-username,项目名称:NHtmlUnit,代码行数:5,代码来源:AjaxController.cs

示例4: DispatchEvent

 // Generating method code for dispatchEvent
 public virtual bool DispatchEvent(NHtmlUnit.Javascript.Host.Event eventArg)
 {
     return WObj.dispatchEvent((com.gargoylesoftware.htmlunit.javascript.host.Event)eventArg.WrappedObject);
 }
开发者ID:phsantos,项目名称:NHtmlUnit,代码行数:5,代码来源:HTMLElement.cs

示例5: RemoveAttributeNode

 // Generating method code for removeAttributeNode
 public virtual void RemoveAttributeNode(NHtmlUnit.Javascript.Host.Attr attribute)
 {
     WObj.removeAttributeNode((com.gargoylesoftware.htmlunit.javascript.host.Attr)attribute.WrappedObject);
 }
开发者ID:phsantos,项目名称:NHtmlUnit,代码行数:5,代码来源:HTMLElement.cs

示例6: RemoveAttributeNode

 // Generating method code for removeAttributeNode
 public virtual NHtmlUnit.Activex.Javascript.Msxml.XMLDOMAttribute RemoveAttributeNode(NHtmlUnit.Activex.Javascript.Msxml.XMLDOMAttribute att)
 {
     var arg = WObj.removeAttributeNode((com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLDOMAttribute)att.WrappedObject);
      return ObjectWrapper.CreateWrapper<NHtmlUnit.Activex.Javascript.Msxml.XMLDOMAttribute>(arg);
 }
开发者ID:HtmlUnit,项目名称:NHtmlUnit,代码行数:6,代码来源:XMLDOMElement.cs

示例7: RemoveRange

 // Generating method code for removeRange
 public virtual void RemoveRange(NHtmlUnit.Javascript.Host.Range range)
 {
     WObj.removeRange((com.gargoylesoftware.htmlunit.javascript.host.Range)range.WrappedObject);
 }
开发者ID:phsantos,项目名称:NHtmlUnit,代码行数:5,代码来源:Selection.cs

示例8: IsEqualNode

 // Generating method code for isEqualNode
 public virtual bool IsEqualNode(NHtmlUnit.W3C.Dom.INode arg)
 {
     return WObj.isEqualNode((org.w3c.dom.Node)arg.WrappedObject);
 }
开发者ID:random-username,项目名称:NHtmlUnit,代码行数:5,代码来源:DomNode.cs

示例9: IsSameNode

 // Generating method code for isSameNode
 public virtual bool IsSameNode(NHtmlUnit.W3C.Dom.INode other)
 {
     return WObj.isSameNode((org.w3c.dom.Node)other.WrappedObject);
 }
开发者ID:random-username,项目名称:NHtmlUnit,代码行数:5,代码来源:DomNode.cs

示例10: InsertBefore

 // Generating method code for insertBefore
 public virtual void InsertBefore(NHtmlUnit.Html.DomNode newNode)
 {
     WObj.insertBefore((com.gargoylesoftware.htmlunit.html.DomNode)newNode.WrappedObject);
 }
开发者ID:random-username,项目名称:NHtmlUnit,代码行数:5,代码来源:DomNode.cs

示例11: IsAncestorOf

 // Generating method code for isAncestorOf
 public virtual bool IsAncestorOf(NHtmlUnit.Html.DomNode node)
 {
     return WObj.isAncestorOf((com.gargoylesoftware.htmlunit.html.DomNode)node.WrappedObject);
 }
开发者ID:random-username,项目名称:NHtmlUnit,代码行数:5,代码来源:DomNode.cs

示例12: CompareDocumentPosition

 // Generating method code for compareDocumentPosition
 public virtual System.Int16 CompareDocumentPosition(NHtmlUnit.W3C.Dom.INode other)
 {
     return WObj.compareDocumentPosition((org.w3c.dom.Node)other.WrappedObject);
 }
开发者ID:random-username,项目名称:NHtmlUnit,代码行数:5,代码来源:DomNode.cs

示例13: AppendChild

 // Generating method code for appendChild
 public virtual NHtmlUnit.Html.DomNode AppendChild(NHtmlUnit.W3C.Dom.INode node)
 {
     return ObjectWrapper.CreateWrapper<NHtmlUnit.Html.DomNode>(WObj.appendChild((org.w3c.dom.Node)node.WrappedObject));
 }
开发者ID:random-username,项目名称:NHtmlUnit,代码行数:5,代码来源:DomNode.cs

示例14: RemoveHtmlAttributeChangeListener

 // Generating method code for removeHtmlAttributeChangeListener
 public virtual void RemoveHtmlAttributeChangeListener(NHtmlUnit.Html.IHtmlAttributeChangeListener listener)
 {
     WObj.removeHtmlAttributeChangeListener((com.gargoylesoftware.htmlunit.html.HtmlAttributeChangeListener)listener.WrappedObject);
 }
开发者ID:phsantos,项目名称:NHtmlUnit,代码行数:5,代码来源:HtmlPage.cs

示例15: RemoveChild

 // Generating method code for removeChild
 public virtual NHtmlUnit.W3C.Dom.INode RemoveChild(NHtmlUnit.W3C.Dom.INode child)
 {
     return ObjectWrapper.CreateWrapper<NHtmlUnit.W3C.Dom.INode>(WObj.removeChild((org.w3c.dom.Node)child.WrappedObject));
 }
开发者ID:random-username,项目名称:NHtmlUnit,代码行数:5,代码来源:DomNode.cs


注:本文中的NHtmlUnit类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。