/// <summary> /// Constructor /// </summary> /// <param name="filepath">Path of the file, for manual file creation, leave empty here</param> public ConfigFile(string filepath) { FilePath = filepath; if (filepath == null || filepath == "") { return; } ConfigFileParser parser = new ConfigFileParser(this); parser.readConfigFile(filepath); }
/// <summary> /// Constructor /// </summary> /// <param name="filepath">Path of the file, for manual file creation, leave empty here</param> public ConfigFile(string filepath) { FilePath = filepath; if (filepath == null || filepath == "") { return; } ConfigFileParser parser = new ConfigFileParser(this); parser.readConfigFile(filepath); }