C# Класс Fizzler.Systems.HtmlAgilityPack.HtmlNodeExtensions

HtmlNode extension methods.
Показать файл Открыть проект

Открытые методы

Метод Описание
Children ( this node ) : IEnumerable

Returns a collection of child nodes of this node.

Descendants ( this node ) : IEnumerable

Returns a collection of all descendant nodes of this element.

DescendantsAndSelf ( this node ) : IEnumerable

Returns a collection of nodes that contains this element followed by all descendant nodes of this element.

Elements ( this node ) : IEnumerable

Returns a collection of child elements of this node.

Elements ( this nodes ) : IEnumerable

Returns a collection of elements from this collection.

ElementsAfterSelf ( this node ) : IEnumerable

Returns a collection of the sibling elements after this node.

ElementsBeforeSelf ( this node ) : IEnumerable

Returns a collection of the sibling elements before this node.

GetBeginTagString ( this node ) : string

Returns a begin tag, including attributes, string representation of this element.

IsElement ( this node ) : bool

Determines whether this node is an element or not.

NodesAfterSelf ( this node ) : IEnumerable

Returns a collection of the sibling nodes after this node.

NodesBeforeSelf ( this node ) : IEnumerable

Returns a collection of the sibling nodes before this node.

Приватные методы

Метод Описание
DescendantsImpl ( HtmlNode node ) : IEnumerable
NodesAfterSelfImpl ( HtmlNode node ) : IEnumerable
NodesBeforeSelfImpl ( HtmlNode node ) : IEnumerable

Описание методов

Children() публичный статический Метод

Returns a collection of child nodes of this node.
public static Children ( this node ) : IEnumerable
node this
Результат IEnumerable

Descendants() публичный статический Метод

Returns a collection of all descendant nodes of this element.
public static Descendants ( this node ) : IEnumerable
node this
Результат IEnumerable

DescendantsAndSelf() публичный статический Метод

Returns a collection of nodes that contains this element followed by all descendant nodes of this element.
public static DescendantsAndSelf ( this node ) : IEnumerable
node this
Результат IEnumerable

Elements() публичный статический Метод

Returns a collection of child elements of this node.
public static Elements ( this node ) : IEnumerable
node this
Результат IEnumerable

Elements() публичный статический Метод

Returns a collection of elements from this collection.
public static Elements ( this nodes ) : IEnumerable
nodes this
Результат IEnumerable

ElementsAfterSelf() публичный статический Метод

Returns a collection of the sibling elements after this node.
public static ElementsAfterSelf ( this node ) : IEnumerable
node this
Результат IEnumerable

ElementsBeforeSelf() публичный статический Метод

Returns a collection of the sibling elements before this node.
public static ElementsBeforeSelf ( this node ) : IEnumerable
node this
Результат IEnumerable

GetBeginTagString() публичный статический Метод

Returns a begin tag, including attributes, string representation of this element.
public static GetBeginTagString ( this node ) : string
node this
Результат string

IsElement() публичный статический Метод

Determines whether this node is an element or not.
public static IsElement ( this node ) : bool
node this
Результат bool

NodesAfterSelf() публичный статический Метод

Returns a collection of the sibling nodes after this node.
public static NodesAfterSelf ( this node ) : IEnumerable
node this
Результат IEnumerable

NodesBeforeSelf() публичный статический Метод

Returns a collection of the sibling nodes before this node.
public static NodesBeforeSelf ( this node ) : IEnumerable
node this
Результат IEnumerable