C# Class MahTweets.Configuration.XDocumentExtension

Datei anzeigen Open project: nickhodge/MahTweets.LawrenceHargrave

Public Methods

Method Description
GetElement ( this doc, string index ) : System.Xml.Linq.XElement
GetValue ( this doc, string index ) : string
GetValueBool ( this doc, string index ) : bool
GetValueDouble ( this doc, string index ) : double
GetValueInt ( this doc, string index ) : int
SetValue ( this doc, string index, object value ) : void

Method Details

GetElement() public static method

public static GetElement ( this doc, string index ) : System.Xml.Linq.XElement
doc this
index string
return System.Xml.Linq.XElement

GetValue() public static method

public static GetValue ( this doc, string index ) : string
doc this
index string
return string

GetValueBool() public static method

public static GetValueBool ( this doc, string index ) : bool
doc this
index string
return bool

GetValueDouble() public static method

public static GetValueDouble ( this doc, string index ) : double
doc this
index string
return double

GetValueInt() public static method

public static GetValueInt ( this doc, string index ) : int
doc this
index string
return int

SetValue() public static method

public static SetValue ( this doc, string index, object value ) : void
doc this
index string
value object
return void