C# Class Net.XpFramework.Runner.Ini

Show file Open project: xp-framework/xp-runners Class Usage Examples

Public Methods

Method Description
Exists ( ) : bool
Get ( string section, string key ) : string
Get ( string section, string key, string defaultValue ) : string
GetAll ( string section, string key ) : IEnumerable
GetAll ( string section, string key, IEnumerable defaultValue ) : IEnumerable
Ini ( string file ) : System
Keys ( string section ) : IEnumerable
Keys ( string section, IEnumerable defaultValue ) : IEnumerable
Parse ( bool reset ) : void

Method Details

Exists() public method

public Exists ( ) : bool
return bool

Get() public method

public Get ( string section, string key ) : string
section string
key string
return string

Get() public method

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

GetAll() public method

public GetAll ( string section, string key ) : IEnumerable
section string
key string
return IEnumerable

GetAll() public method

public GetAll ( string section, string key, IEnumerable defaultValue ) : IEnumerable
section string
key string
defaultValue IEnumerable
return IEnumerable

Ini() public method

public Ini ( string file ) : System
file string
return System

Keys() public method

public Keys ( string section ) : IEnumerable
section string
return IEnumerable

Keys() public method

public Keys ( string section, IEnumerable defaultValue ) : IEnumerable
section string
defaultValue IEnumerable
return IEnumerable

Parse() public method

public Parse ( bool reset ) : void
reset bool
return void