메소드 | 설명 | |
---|---|---|
ConfigOperator ( ) : System | ||
ConfigOperator ( string path ) : System | ||
Dispose ( ) : void | ||
GetBoolValue ( string key ) : bool | ||
GetBoolValue ( string key, bool &value ) : bool | ||
GetFloatValue ( string key, float &value ) : bool | ||
GetFloatValue ( string key ) : float | ||
GetIntValue ( string key, int &value ) : bool | ||
GetIntValue ( string key ) : int | ||
GetStringValue ( string key, string &value ) : bool | ||
GetStringValue ( string key ) : string | ||
Read ( ) : bool | ||
Read ( string content, bool clearExist = true ) : void | ||
ReadTextTable ( string content, string split ) : List |
将列表格式的文本文件读到内存中.
|
|
Save ( ) : void | ||
Write ( string key, object values, string description = "" ) : void |
向配置文件中写入一条记录.
|
public GetBoolValue ( string key, bool &value ) : bool | ||
key | string | |
value | bool | |
리턴 | bool |
public GetFloatValue ( string key, float &value ) : bool | ||
key | string | |
value | float | |
리턴 | bool |
public GetIntValue ( string key, int &value ) : bool | ||
key | string | |
value | int | |
리턴 | bool |
public GetStringValue ( string key, string &value ) : bool | ||
key | string | |
value | string | |
리턴 | bool |
public Read ( string content, bool clearExist = true ) : void | ||
content | string | |
clearExist | bool | |
리턴 | void |
public ReadTextTable ( string content, string split ) : List |
||
content | string | |
split | string | 分隔符:制表符 空格 |
리턴 | List |
public Write ( string key, object values, string description = "" ) : void | ||
key | string | |
values | object | |
description | string | 注释. |
리턴 | void |