C# 클래스 StoryTeller.Util.XmlExtensions

파일 보기 프로젝트 열기: storyteller/Storyteller

공개 메소드들

메소드 설명
AddComment ( this element, string text ) : void
AddElement ( this element, string name ) : XmlElement
AddElement ( this element, string name, Action action ) : XmlElement
ForEachElement ( this node, Action action ) : void
FromFile ( this document, string fileName ) : XmlDocument
SetAttributeOnChild ( this element, string childName, string attName, string attValue ) : void
With ( this node, Action action ) : XmlElement
WithAtt ( this element, string key, string attValue ) : XmlElement
WithAttributes ( this element, string text ) : XmlElement
WithFormattedText ( this element, string text ) : XmlElement
WithInnerText ( this node, string text ) : XmlElement
WithProperties ( this element, string>.Dictionary properties ) : XmlElement
WithProperties ( this element, string>.LightweightCache properties ) : XmlElement
WithRoot ( this document, string elementName ) : XmlElement
WithXmlText ( this document, string xml ) : XmlDocument
XmlFromFileWithRoot ( this fileName, string root ) : XmlDocument

메소드 상세

AddComment() 공개 정적인 메소드

public static AddComment ( this element, string text ) : void
element this
text string
리턴 void

AddElement() 공개 정적인 메소드

public static AddElement ( this element, string name ) : XmlElement
element this
name string
리턴 System.Xml.XmlElement

AddElement() 공개 정적인 메소드

public static AddElement ( this element, string name, Action action ) : XmlElement
element this
name string
action Action
리턴 System.Xml.XmlElement

ForEachElement() 공개 정적인 메소드

public static ForEachElement ( this node, Action action ) : void
node this
action Action
리턴 void

FromFile() 공개 정적인 메소드

public static FromFile ( this document, string fileName ) : XmlDocument
document this
fileName string
리턴 System.Xml.XmlDocument

SetAttributeOnChild() 공개 정적인 메소드

public static SetAttributeOnChild ( this element, string childName, string attName, string attValue ) : void
element this
childName string
attName string
attValue string
리턴 void

With() 공개 정적인 메소드

public static With ( this node, Action action ) : XmlElement
node this
action Action
리턴 System.Xml.XmlElement

WithAtt() 공개 정적인 메소드

public static WithAtt ( this element, string key, string attValue ) : XmlElement
element this
key string
attValue string
리턴 System.Xml.XmlElement

WithAttributes() 공개 정적인 메소드

public static WithAttributes ( this element, string text ) : XmlElement
element this
text string
리턴 System.Xml.XmlElement

WithFormattedText() 공개 정적인 메소드

public static WithFormattedText ( this element, string text ) : XmlElement
element this
text string
리턴 System.Xml.XmlElement

WithInnerText() 공개 정적인 메소드

public static WithInnerText ( this node, string text ) : XmlElement
node this
text string
리턴 System.Xml.XmlElement

WithProperties() 공개 정적인 메소드

public static WithProperties ( this element, string>.Dictionary properties ) : XmlElement
element this
properties string>.Dictionary
리턴 System.Xml.XmlElement

WithProperties() 공개 정적인 메소드

public static WithProperties ( this element, string>.LightweightCache properties ) : XmlElement
element this
properties string>.LightweightCache
리턴 System.Xml.XmlElement

WithRoot() 공개 정적인 메소드

public static WithRoot ( this document, string elementName ) : XmlElement
document this
elementName string
리턴 System.Xml.XmlElement

WithXmlText() 공개 정적인 메소드

public static WithXmlText ( this document, string xml ) : XmlDocument
document this
xml string
리턴 System.Xml.XmlDocument

XmlFromFileWithRoot() 공개 정적인 메소드

public static XmlFromFileWithRoot ( this fileName, string root ) : XmlDocument
fileName this
root string
리턴 System.Xml.XmlDocument