C# Class Scalien.ConfigFile

Afficher le fichier Open project: scalien/scaliendb

Méthodes publiques

Свойство Type Description
Filename string

Méthodes publiques

Méthode Description
ConfigFile ( string filePath = null ) : System
GetBoolValue ( string key, bool defaultValue ) : bool
GetInt64Value ( string key, System.Int64 defaultValue ) : System.Int64
GetIntValue ( string key, int defaultValue ) : int
GetStringArrayValue ( string key, string defaultValue = null ) : string[]
GetStringValue ( string key, string defaultValue = null ) : string
GetUInt64Value ( string key, System.UInt64 defaultValue ) : System.UInt64
this ( string Param ) : string

Private Methods

Méthode Description
Open ( string filePath ) : void

Method Details

ConfigFile() public méthode

public ConfigFile ( string filePath = null ) : System
filePath string
Résultat System

GetBoolValue() public méthode

public GetBoolValue ( string key, bool defaultValue ) : bool
key string
defaultValue bool
Résultat bool

GetInt64Value() public méthode

public GetInt64Value ( string key, System.Int64 defaultValue ) : System.Int64
key string
defaultValue System.Int64
Résultat System.Int64

GetIntValue() public méthode

public GetIntValue ( string key, int defaultValue ) : int
key string
defaultValue int
Résultat int

GetStringArrayValue() public méthode

public GetStringArrayValue ( string key, string defaultValue = null ) : string[]
key string
defaultValue string
Résultat string[]

GetStringValue() public méthode

public GetStringValue ( string key, string defaultValue = null ) : string
key string
defaultValue string
Résultat string

GetUInt64Value() public méthode

public GetUInt64Value ( string key, System.UInt64 defaultValue ) : System.UInt64
key string
defaultValue System.UInt64
Résultat System.UInt64

this() public méthode

public this ( string Param ) : string
Param string
Résultat string

Property Details

Filename public_oe static_oe property

public static string Filename
Résultat string