Esempio n. 1
0
 public static string get(string section,string key)
 {
     self = (self==null)?new Config(Global.IniPath):self;
     string temp = self.ConfigHandler[section][key];
     foreach (KeyValuePair<string,string> data in self.ReplacingData){
         temp = temp.Replace(data.Key,data.Value);
     }
     return temp;
 }
Esempio n. 2
0
 public static void save()
 {
     self = (self == null) ? new Config(Global.IniPath) : self;
     self.FileHandler.SaveFile(self.FilePath, self.ConfigHandler);
 }