C# Class Minerva.IniReader

Exibir arquivo Open project: programmerzlp/Minerva Class Usage Examples

Public Methods

Method Description
Flush ( ) : void
GetValue ( string section, string key, bool defaultValue ) : bool
GetValue ( string section, string key, Array defaultValue ) : byte[]
GetValue ( string section, string key, double defaultValue ) : double
GetValue ( string section, string key, int defaultValue ) : int
GetValue ( string section, string key, string defaultValue ) : string
IniReader ( string filename, bool lazy = false ) : System
Refresh ( ) : void

Private Methods

Method Description
DecodeByteArray ( string value ) : byte[]
EncodeByteArray ( Array value ) : string

Method Details

Flush() public method

public Flush ( ) : void
return void

GetValue() public method

public GetValue ( string section, string key, bool defaultValue ) : bool
section string
key string
defaultValue bool
return bool

GetValue() public method

public GetValue ( string section, string key, Array defaultValue ) : byte[]
section string
key string
defaultValue Array
return byte[]

GetValue() public method

public GetValue ( string section, string key, double defaultValue ) : double
section string
key string
defaultValue double
return double

GetValue() public method

public GetValue ( string section, string key, int defaultValue ) : int
section string
key string
defaultValue int
return int

GetValue() public method

public GetValue ( string section, string key, string defaultValue ) : string
section string
key string
defaultValue string
return string

IniReader() public method

public IniReader ( string filename, bool lazy = false ) : System
filename string
lazy bool
return System

Refresh() public method

public Refresh ( ) : void
return void