C# Class ConfigurationFile.ConfigItemDefine

Show file Open project: magicdict/MongoCola Class Usage Examples

Public Properties

Property Type Description
ConfigurationItemDictionary ConfigurationFileOption.Define>.Dictionary
DefineFilename string
SelectedConfigurationValueDictionary ConfigurationFileOption.ConfigValue>.Dictionary
ValueFilename string

Public Methods

Method Description
LoadDefines ( ) : Common.CTreeNode

从外部文件中获取Options列表

LoadValues ( ) : void

加载XML文件

RemoveValue ( string key ) : void

删除Value

SaveAsYmal ( string confFilename ) : void

保存为Conf文件

SaveDefines ( ) : void

将列表存储到外部文件中

SaveValues ( ) : void

保存为XML文件

UpdateValue ( MongoUtility.Core.ConfigurationFileOption optionValue ) : void

更新Value

Method Details

LoadDefines() public static method

从外部文件中获取Options列表
public static LoadDefines ( ) : Common.CTreeNode
return Common.CTreeNode

LoadValues() public static method

加载XML文件
public static LoadValues ( ) : void
return void

RemoveValue() public static method

删除Value
public static RemoveValue ( string key ) : void
key string
return void

SaveAsYmal() public static method

保存为Conf文件
public static SaveAsYmal ( string confFilename ) : void
confFilename string
return void

SaveDefines() public static method

将列表存储到外部文件中
public static SaveDefines ( ) : void
return void

SaveValues() public static method

保存为XML文件
public static SaveValues ( ) : void
return void

UpdateValue() public static method

更新Value
public static UpdateValue ( MongoUtility.Core.ConfigurationFileOption optionValue ) : void
optionValue MongoUtility.Core.ConfigurationFileOption
return void

Property Details

ConfigurationItemDictionary public static property

Config Option Dictionary
public static Dictionary ConfigurationItemDictionary
return ConfigurationFileOption.Define>.Dictionary

DefineFilename public static property

OptionDefines文件名称
public static string DefineFilename
return string

SelectedConfigurationValueDictionary public static property

已经选中的项目以及值的字面量
public static Dictionary SelectedConfigurationValueDictionary
return ConfigurationFileOption.ConfigValue>.Dictionary

ValueFilename public static property

OptionValue文件名称
public static string ValueFilename
return string