C# Class SimoBot.ConfigLoader

Exibir arquivo Open project: code-n-beer/SimoBot Class Usage Examples

Public Methods

Method Description
FindValueFromNestedDictionary ( string>.Dictionary dictionary, string key ) : string
GetCommitMessage ( string>.Dictionary dictionary ) : string
LoadConfig ( string filename = "config.txt" ) : Dictionary>
OrganizeConfsPerServer ( string>.Dictionary confs ) : List

Private Methods

Method Description
AddChannel ( List &servers, Channel channel ) : void

Method Details

FindValueFromNestedDictionary() public static method

public static FindValueFromNestedDictionary ( string>.Dictionary dictionary, string key ) : string
dictionary string>.Dictionary
key string
return string

GetCommitMessage() public static method

public static GetCommitMessage ( string>.Dictionary dictionary ) : string
dictionary string>.Dictionary
return string

LoadConfig() public static method

public static LoadConfig ( string filename = "config.txt" ) : Dictionary>
filename string
return Dictionary>

OrganizeConfsPerServer() public static method

public static OrganizeConfsPerServer ( string>.Dictionary confs ) : List
confs string>.Dictionary
return List