C# Class PeerCastStation.Core.AppSettingsReader

Afficher le fichier Open project: kumaryu/peercaststation

Méthodes publiques

Méthode Description
GetDate ( string key, System.DateTime default_value ) : System.DateTime
GetIPAddress ( string key, System default_value ) : System.Net.IPAddress
GetInt ( string key, int default_value ) : int
GetString ( string key, string default_value ) : string
GetUri ( string key, Uri default_value ) : Uri
TryGetDate ( string key, System.DateTime &value ) : bool
TryGetIPAddress ( string key, System &value ) : bool
TryGetInt ( string key, int &value ) : bool
TryGetString ( string key, string &value ) : bool
TryGetUri ( string key, Uri &value ) : bool

Method Details

GetDate() static public méthode

static public GetDate ( string key, System.DateTime default_value ) : System.DateTime
key string
default_value System.DateTime
Résultat System.DateTime

GetIPAddress() static public méthode

static public GetIPAddress ( string key, System default_value ) : System.Net.IPAddress
key string
default_value System
Résultat System.Net.IPAddress

GetInt() static public méthode

static public GetInt ( string key, int default_value ) : int
key string
default_value int
Résultat int

GetString() static public méthode

static public GetString ( string key, string default_value ) : string
key string
default_value string
Résultat string

GetUri() static public méthode

static public GetUri ( string key, Uri default_value ) : Uri
key string
default_value System.Uri
Résultat System.Uri

TryGetDate() static public méthode

static public TryGetDate ( string key, System.DateTime &value ) : bool
key string
value System.DateTime
Résultat bool

TryGetIPAddress() static public méthode

static public TryGetIPAddress ( string key, System &value ) : bool
key string
value System
Résultat bool

TryGetInt() static public méthode

static public TryGetInt ( string key, int &value ) : bool
key string
value int
Résultat bool

TryGetString() static public méthode

static public TryGetString ( string key, string &value ) : bool
key string
value string
Résultat bool

TryGetUri() static public méthode

static public TryGetUri ( string key, Uri &value ) : bool
key string
value System.Uri
Résultat bool