C# Класс NotMyself.FluentWix.Utils.XmlExtensions

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

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

Метод Описание
AddElement ( this document, string name ) : System.Xml.Linq.XElement
AddElement ( this element, string name ) : XmlElement
ImportAndAppendChild ( this document, XmlDocument toImport ) : void
SetAttributeOnChild ( this element, string childName, string attName, string attValue ) : void
WithAtt ( this element, string key, bool value ) : System.Xml.Linq.XElement
WithAtt ( this element, string key, int value ) : System.Xml.Linq.XElement
WithAtt ( this element, string key, string attValue ) : System.Xml.Linq.XElement
WithProperties ( this element, string>.Dictionary properties ) : XmlElement

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

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

public static AddElement ( this document, string name ) : System.Xml.Linq.XElement
document this
name string
Результат System.Xml.Linq.XElement

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

public static AddElement ( this element, string name ) : XmlElement
element this
name string
Результат System.Xml.XmlElement

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

public static ImportAndAppendChild ( this document, XmlDocument toImport ) : void
document this
toImport System.Xml.XmlDocument
Результат void

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

public static SetAttributeOnChild ( this element, string childName, string attName, string attValue ) : void
element this
childName string
attName string
attValue string
Результат void

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

public static WithAtt ( this element, string key, bool value ) : System.Xml.Linq.XElement
element this
key string
value bool
Результат System.Xml.Linq.XElement

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

public static WithAtt ( this element, string key, int value ) : System.Xml.Linq.XElement
element this
key string
value int
Результат System.Xml.Linq.XElement

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

public static WithAtt ( this element, string key, string attValue ) : System.Xml.Linq.XElement
element this
key string
attValue string
Результат System.Xml.Linq.XElement

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

public static WithProperties ( this element, string>.Dictionary properties ) : XmlElement
element this
properties string>.Dictionary
Результат System.Xml.XmlElement