C# 클래스 NContrib.Extensions.XDocumentExtensions

파일 보기 프로젝트 열기: veracross/ncontrib

공개 메소드들

메소드 설명
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