C# Class DataServer.XElementExt

Afficher le fichier Open project: TNOCS/csTouch

Méthodes publiques

Méthode Description
GetBool ( this element, string name, bool defaultValue = false ) : bool
GetColor ( this element, string name ) : Color
GetColor ( this element, string name, Color defaultColor ) : Color
GetColor ( this element, string name, string defaultColor ) : Color
GetDate ( this element, string name, System.DateTime defaultValue ) : System.DateTime
GetDouble ( this element, string name ) : Double
GetDouble ( this element, string name, double defaultValue ) : Double
GetGuid ( this element, string name ) : System.Guid
GetInt ( this element, string name, int defaultValue ) : int
GetLong ( this element, string name, long defaultValue ) : long
GetNullBool ( this element, string name ) : bool?
GetNullColor ( this element, string name ) : Color?
GetNullDouble ( this element, string name ) : Double?
GetNullInt ( this element, string name ) : int?
GetString ( this element, string name ) : string
GetString ( this element, string name, string defaultValue ) : string
GetUri ( this element, string name ) : Uri

Method Details

GetBool() public static méthode

public static GetBool ( this element, string name, bool defaultValue = false ) : bool
element this
name string
defaultValue bool
Résultat bool

GetColor() public static méthode

public static GetColor ( this element, string name ) : Color
element this
name string
Résultat Color

GetColor() public static méthode

public static GetColor ( this element, string name, Color defaultColor ) : Color
element this
name string
defaultColor Color
Résultat Color

GetColor() public static méthode

public static GetColor ( this element, string name, string defaultColor ) : Color
element this
name string
defaultColor string
Résultat Color

GetDate() public static méthode

public static GetDate ( this element, string name, System.DateTime defaultValue ) : System.DateTime
element this
name string
defaultValue System.DateTime
Résultat System.DateTime

GetDouble() public static méthode

public static GetDouble ( this element, string name ) : Double
element this
name string
Résultat Double

GetDouble() public static méthode

public static GetDouble ( this element, string name, double defaultValue ) : Double
element this
name string
defaultValue double
Résultat Double

GetGuid() public static méthode

public static GetGuid ( this element, string name ) : System.Guid
element this
name string
Résultat System.Guid

GetInt() public static méthode

public static GetInt ( this element, string name, int defaultValue ) : int
element this
name string
defaultValue int
Résultat int

GetLong() public static méthode

public static GetLong ( this element, string name, long defaultValue ) : long
element this
name string
defaultValue long
Résultat long

GetNullBool() public static méthode

public static GetNullBool ( this element, string name ) : bool?
element this
name string
Résultat bool?

GetNullColor() public static méthode

public static GetNullColor ( this element, string name ) : Color?
element this
name string
Résultat Color?

GetNullDouble() public static méthode

public static GetNullDouble ( this element, string name ) : Double?
element this
name string
Résultat Double?

GetNullInt() public static méthode

public static GetNullInt ( this element, string name ) : int?
element this
name string
Résultat int?

GetString() public static méthode

public static GetString ( this element, string name ) : string
element this
name string
Résultat string

GetString() public static méthode

public static GetString ( this element, string name, string defaultValue ) : string
element this
name string
defaultValue string
Résultat string

GetUri() public static méthode

public static GetUri ( this element, string name ) : Uri
element this
name string
Résultat System.Uri