C# 클래스 XmlTransformer.XElementExtensions

파일 보기 프로젝트 열기: micahlmartin/XmlTransformer

공개 메소드들

메소드 설명
ElementsNoNamespace ( this container, string localName ) : IEnumerable
ElementsNoNamespace ( this source, string localName ) : IEnumerable
Except ( this source, System.Xml.Linq.XElement target ) : System.Xml.Linq.XElement
GetOptionalAttributeValue ( this element, string localName, string namespaceName = null ) : string
GetOptionalElementValue ( this element, string localName, string namespaceName = null ) : string
MergeWith ( this source, System.Xml.Linq.XElement target ) : System.Xml.Linq.XElement
MergeWith ( this source, System.Xml.Linq.XElement target, XElement>.IDictionary nodeActions ) : System.Xml.Linq.XElement
RemoveAttributes ( this element, bool>.Func condition ) : void
ToXElement ( this xml ) : System.Xml.Linq.XElement
ToXmlElement ( this xml ) : XmlElement

비공개 메소드들

메소드 설명
AttributeEquals ( System.Xml.Linq.XAttribute source, System.Xml.Linq.XAttribute target ) : bool
Compare ( System.Xml.Linq.XElement target, System.Xml.Linq.XElement left, System.Xml.Linq.XElement right ) : int
CountMatches ( System.Xml.Linq.XElement left, System.Xml.Linq.XElement right, Func matcher ) : int
FindElement ( System.Xml.Linq.XElement source, System.Xml.Linq.XElement targetChild ) : System.Xml.Linq.XElement
HasConflict ( System.Xml.Linq.XElement source, System.Xml.Linq.XElement target ) : bool

메소드 상세

ElementsNoNamespace() 공개 정적인 메소드

public static ElementsNoNamespace ( this container, string localName ) : IEnumerable
container this
localName string
리턴 IEnumerable

ElementsNoNamespace() 공개 정적인 메소드

public static ElementsNoNamespace ( this source, string localName ) : IEnumerable
source this
localName string
리턴 IEnumerable

Except() 공개 정적인 메소드

public static Except ( this source, System.Xml.Linq.XElement target ) : System.Xml.Linq.XElement
source this
target System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

GetOptionalAttributeValue() 공개 정적인 메소드

public static GetOptionalAttributeValue ( this element, string localName, string namespaceName = null ) : string
element this
localName string
namespaceName string
리턴 string

GetOptionalElementValue() 공개 정적인 메소드

public static GetOptionalElementValue ( this element, string localName, string namespaceName = null ) : string
element this
localName string
namespaceName string
리턴 string

MergeWith() 공개 정적인 메소드

public static MergeWith ( this source, System.Xml.Linq.XElement target ) : System.Xml.Linq.XElement
source this
target System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement

MergeWith() 공개 정적인 메소드

public static MergeWith ( this source, System.Xml.Linq.XElement target, XElement>.IDictionary nodeActions ) : System.Xml.Linq.XElement
source this
target System.Xml.Linq.XElement
nodeActions XElement>.IDictionary
리턴 System.Xml.Linq.XElement

RemoveAttributes() 공개 정적인 메소드

public static RemoveAttributes ( this element, bool>.Func condition ) : void
element this
condition bool>.Func
리턴 void

ToXElement() 공개 정적인 메소드

public static ToXElement ( this xml ) : System.Xml.Linq.XElement
xml this
리턴 System.Xml.Linq.XElement

ToXmlElement() 공개 정적인 메소드

public static ToXmlElement ( this xml ) : XmlElement
xml this
리턴 System.Xml.XmlElement