C# Класс NContrib.Extensions.XDocumentExtensions

Показать файл Открыть проект

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

Метод Описание
AddFragment ( this target, System.Xml.Linq.XElement other ) : void
Describe ( this attributes ) : string
DescribePath ( this e ) : string
DescribeSelector ( this e ) : string
GetValue ( this node, string name, string fallback = null ) : string
ToXDocument ( this doc ) : System.Xml.Linq.XDocument

Creates an XDocument

WriteToString ( this node ) : string

Returns an XmlNode as a string with indented formatting

WriteToString ( this doc, object settingsOverrides ) : string

Returns an XML node as a string with specified formatting

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

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

public static AddFragment ( this target, System.Xml.Linq.XElement other ) : void
target this
other System.Xml.Linq.XElement
Результат void

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

public static Describe ( this attributes ) : string
attributes this
Результат string

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

public static DescribePath ( this e ) : string
e this
Результат string

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

public static DescribeSelector ( this e ) : string
e this
Результат string

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

public static GetValue ( this node, string name, string fallback = null ) : string
node this
name string
fallback string
Результат string

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

Creates an XDocument
public static ToXDocument ( this doc ) : System.Xml.Linq.XDocument
doc this
Результат System.Xml.Linq.XDocument

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

Returns an XmlNode as a string with indented formatting
public static WriteToString ( this node ) : string
node this XmlNode
Результат string

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

Returns an XML node as a string with specified formatting
public static WriteToString ( this doc, object settingsOverrides ) : string
doc this XmlNode
settingsOverrides object Settings overrides
Результат string