本文整理汇总了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);
}
示例2: DomCDataSection
public DomCDataSection(NHtmlUnit.SgmlPage page, string data)
: this(new com.gargoylesoftware.htmlunit.html.DomCDataSection((com.gargoylesoftware.htmlunit.SgmlPage)page.WrappedObject, data))
{
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例10: InsertBefore
// Generating method code for insertBefore
public virtual void InsertBefore(NHtmlUnit.Html.DomNode newNode)
{
WObj.insertBefore((com.gargoylesoftware.htmlunit.html.DomNode)newNode.WrappedObject);
}
示例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);
}
示例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);
}
示例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));
}
示例14: RemoveHtmlAttributeChangeListener
// Generating method code for removeHtmlAttributeChangeListener
public virtual void RemoveHtmlAttributeChangeListener(NHtmlUnit.Html.IHtmlAttributeChangeListener listener)
{
WObj.removeHtmlAttributeChangeListener((com.gargoylesoftware.htmlunit.html.HtmlAttributeChangeListener)listener.WrappedObject);
}
示例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));
}