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; }
public static void save() { self = (self == null) ? new Config(Global.IniPath) : self; self.FileHandler.SaveFile(self.FilePath, self.ConfigHandler); }