C# Class NotMyself.FluentWix.Utils.XmlExtensions

Afficher le fichier Open project: NotMyself/Fluent-Wix

Méthodes publiques

Méthode Description
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

Method Details

AddElement() public static méthode

public static AddElement ( this document, string name ) : System.Xml.Linq.XElement
document this
name string
Résultat System.Xml.Linq.XElement

AddElement() public static méthode

public static AddElement ( this element, string name ) : XmlElement
element this
name string
Résultat System.Xml.XmlElement

ImportAndAppendChild() public static méthode

public static ImportAndAppendChild ( this document, XmlDocument toImport ) : void
document this
toImport System.Xml.XmlDocument
Résultat void

SetAttributeOnChild() public static méthode

public static SetAttributeOnChild ( this element, string childName, string attName, string attValue ) : void
element this
childName string
attName string
attValue string
Résultat void

WithAtt() public static méthode

public static WithAtt ( this element, string key, bool value ) : System.Xml.Linq.XElement
element this
key string
value bool
Résultat System.Xml.Linq.XElement

WithAtt() public static méthode

public static WithAtt ( this element, string key, int value ) : System.Xml.Linq.XElement
element this
key string
value int
Résultat System.Xml.Linq.XElement

WithAtt() public static méthode

public static WithAtt ( this element, string key, string attValue ) : System.Xml.Linq.XElement
element this
key string
attValue string
Résultat System.Xml.Linq.XElement

WithProperties() public static méthode

public static WithProperties ( this element, string>.Dictionary properties ) : XmlElement
element this
properties string>.Dictionary
Résultat System.Xml.XmlElement