C# Class GameBase.Config.IniSection

Ini节点
ファイルを表示 Open project: dream-young-soul/soul Class Usage Examples

Public Methods

Method Description
AddKeyValue ( string key, string value ) : void
Clear ( ) : void
IniSection ( String SName ) : System
ReadValue ( string key, System.DateTime defaultv ) : System.DateTime
ReadValue ( string key, bool defaultv ) : bool
ReadValue ( string key, float defaultv ) : float
ReadValue ( string key, int defaultv ) : int
ReadValue ( string key, string defaultv ) : string
SaveToStream ( Stream stream ) : void
SaveToStream ( StreamWriter SW ) : void
WriteValue ( string key, System.DateTime value ) : void
WriteValue ( string key, bool value ) : void
WriteValue ( string key, float value ) : void
WriteValue ( string key, int value ) : void
WriteValue ( string key, string value ) : void

Method Details

AddKeyValue() public method

public AddKeyValue ( string key, string value ) : void
key string
value string
return void

Clear() public method

public Clear ( ) : void
return void

IniSection() public method

public IniSection ( String SName ) : System
SName String
return System

ReadValue() public method

public ReadValue ( string key, System.DateTime defaultv ) : System.DateTime
key string
defaultv System.DateTime
return System.DateTime

ReadValue() public method

public ReadValue ( string key, bool defaultv ) : bool
key string
defaultv bool
return bool

ReadValue() public method

public ReadValue ( string key, float defaultv ) : float
key string
defaultv float
return float

ReadValue() public method

public ReadValue ( string key, int defaultv ) : int
key string
defaultv int
return int

ReadValue() public method

public ReadValue ( string key, string defaultv ) : string
key string
defaultv string
return string

SaveToStream() public method

public SaveToStream ( Stream stream ) : void
stream Stream
return void

SaveToStream() public method

public SaveToStream ( StreamWriter SW ) : void
SW System.IO.StreamWriter
return void

WriteValue() public method

public WriteValue ( string key, System.DateTime value ) : void
key string
value System.DateTime
return void

WriteValue() public method

public WriteValue ( string key, bool value ) : void
key string
value bool
return void

WriteValue() public method

public WriteValue ( string key, float value ) : void
key string
value float
return void

WriteValue() public method

public WriteValue ( string key, int value ) : void
key string
value int
return void

WriteValue() public method

public WriteValue ( string key, string value ) : void
key string
value string
return void