C# Class AniDBmini.ConfigFile

Show file Open project: ahodesuka/AniDBmini

Public Properties

Property Type Description
Default string>.Dictionary

Public Methods

Method Description
Read ( string Key ) : ConfigValue

Read data value from the ini file

Write ( string Key, string Value ) : void

Write data to the ini file

Private Methods

Method Description
CheckDefaultConfig ( ) : void

Check if the config file exists, or if it is emtpy. If either, create a config file w/defaults.

Method Details

Read() public static method

Read data value from the ini file
public static Read ( string Key ) : ConfigValue
Key string
return ConfigValue

Write() public static method

Write data to the ini file
public static Write ( string Key, string Value ) : void
Key string
Value string
return void

Property Details

Default public static property

public static Dictionary Default
return string>.Dictionary