本文整理汇总了C#中NHtmlUnit类的典型用法代码示例。如果您正苦于以下问题:C# NHtmlUnit类的具体用法?C# NHtmlUnit怎么用?C# NHtmlUnit使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
NHtmlUnit类属于命名空间,在下文中一共展示了NHtmlUnit类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: SetFocusedElement
// Generating method code for setFocusedElement
public virtual bool SetFocusedElement(NHtmlUnit.Html.HtmlElement newElement)
{
return WObj.setFocusedElement((com.gargoylesoftware.htmlunit.html.HtmlElement)newElement.WrappedObject);
}
开发者ID:phsantos,项目名称:NHtmlUnit,代码行数:5,代码来源:HtmlPage.cs
示例17: Replace
// Generating method code for replace
public virtual void Replace(NHtmlUnit.Html.DomNode newNode)
{
WObj.replace((com.gargoylesoftware.htmlunit.html.DomNode)newNode.WrappedObject);
}
开发者ID:random-username,项目名称:NHtmlUnit,代码行数:5,代码来源:DomNode.cs
示例18: Extend
// Generating method code for extend
public virtual void Extend(NHtmlUnit.Javascript.Host.Node parentNode, int offset)
{
WObj.extend((com.gargoylesoftware.htmlunit.javascript.host.Node)parentNode.WrappedObject, offset);
}
开发者ID:phsantos,项目名称:NHtmlUnit,代码行数:5,代码来源:Selection.cs
示例19: ReplaceChild
// Generating method code for replaceChild
public virtual NHtmlUnit.W3C.Dom.INode ReplaceChild(NHtmlUnit.W3C.Dom.INode newChild, NHtmlUnit.W3C.Dom.INode oldChild)
{
return ObjectWrapper.CreateWrapper<NHtmlUnit.W3C.Dom.INode>(WObj.replaceChild((org.w3c.dom.Node)newChild.WrappedObject, (org.w3c.dom.Node)oldChild.WrappedObject));
}
开发者ID:random-username,项目名称:NHtmlUnit,代码行数:5,代码来源:DomNode.cs
示例20: SelectAllChildren
// Generating method code for selectAllChildren
public virtual void SelectAllChildren(NHtmlUnit.Javascript.Host.Node parentNode)
{
WObj.selectAllChildren((com.gargoylesoftware.htmlunit.javascript.host.Node)parentNode.WrappedObject);
}
开发者ID:phsantos,项目名称:NHtmlUnit,代码行数:5,代码来源:Selection.cs
注:本文中的NHtmlUnit类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论