C# Class RTS4.ModHQ.UI.XmlEx

Mostra file Open project: Weesals/ModHQ

Public Methods

Method Description
AttributeOrDefault ( XElement el, string name, string def ) : string
AttributeOrNull ( XElement el, string name ) : string
ElementOrDefault ( XElement el, string name, string def ) : string
ElementOrNull ( XElement el, string name ) : string
GetImmediateValue ( XElement el ) : string

Method Details

AttributeOrDefault() public static method

public static AttributeOrDefault ( XElement el, string name, string def ) : string
el XElement
name string
def string
return string

AttributeOrNull() public static method

public static AttributeOrNull ( XElement el, string name ) : string
el XElement
name string
return string

ElementOrDefault() public static method

public static ElementOrDefault ( XElement el, string name, string def ) : string
el XElement
name string
def string
return string

ElementOrNull() public static method

public static ElementOrNull ( XElement el, string name ) : string
el XElement
name string
return string

GetImmediateValue() public static method

public static GetImmediateValue ( XElement el ) : string
el XElement
return string