C# Class Scalien.ConfigFile

Mostrar archivo Open project: scalien/scaliendb

Public Properties

Property Type Description
Filename string

Public Methods

Method 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

Method Description
Open ( string filePath ) : void

Method Details

ConfigFile() public method

public ConfigFile ( string filePath = null ) : System
filePath string
return System

GetBoolValue() public method

public GetBoolValue ( string key, bool defaultValue ) : bool
key string
defaultValue bool
return bool

GetInt64Value() public method

public GetInt64Value ( string key, System.Int64 defaultValue ) : System.Int64
key string
defaultValue System.Int64
return System.Int64

GetIntValue() public method

public GetIntValue ( string key, int defaultValue ) : int
key string
defaultValue int
return int

GetStringArrayValue() public method

public GetStringArrayValue ( string key, string defaultValue = null ) : string[]
key string
defaultValue string
return string[]

GetStringValue() public method

public GetStringValue ( string key, string defaultValue = null ) : string
key string
defaultValue string
return string

GetUInt64Value() public method

public GetUInt64Value ( string key, System.UInt64 defaultValue ) : System.UInt64
key string
defaultValue System.UInt64
return System.UInt64

this() public method

public this ( string Param ) : string
Param string
return string

Property Details

Filename public_oe static_oe property

public static string Filename
return string