C# Класс CCNet.Build.Confluence.PageDocumentExtensions

Helper methods to work with Confluence XML document.
Показать файл Открыть проект

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

Метод Описание
RemoveIfExists ( this attribute ) : void

Removes specified attribute, allows null to be passed.

XAttribute ( this element, string name ) : System.Xml.Linq.XAttribute

Finds attribute by name, using internal namespace prefixes.

XElement ( this element, string xpath ) : System.Xml.Linq.XElement

Executes XPath query over existing project document and namespace manager.

XElements ( this element, string xpath ) : IEnumerable

Executes XPath query over existing project document and namespace manager.

XValue ( this element, string value ) : System.Xml.Linq.XElement

Encodes internal HTML entities in specified value.

XValue ( this element ) : string

Decodes specified value from internal HTML entities.

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

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

Removes specified attribute, allows null to be passed.
public static RemoveIfExists ( this attribute ) : void
attribute this
Результат void

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

Finds attribute by name, using internal namespace prefixes.
public static XAttribute ( this element, string name ) : System.Xml.Linq.XAttribute
element this
name string
Результат System.Xml.Linq.XAttribute

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

Executes XPath query over existing project document and namespace manager.
public static XElement ( this element, string xpath ) : System.Xml.Linq.XElement
element this
xpath string
Результат System.Xml.Linq.XElement

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

Executes XPath query over existing project document and namespace manager.
public static XElements ( this element, string xpath ) : IEnumerable
element this
xpath string
Результат IEnumerable

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

Encodes internal HTML entities in specified value.
public static XValue ( this element, string value ) : System.Xml.Linq.XElement
element this
value string
Результат System.Xml.Linq.XElement

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

Decodes specified value from internal HTML entities.
public static XValue ( this element ) : string
element this
Результат string