public static IniFile Parse(string text, IniFileMode mode) { var result = new IniFile(mode); result.ParseString(text); return(result); }
public IniFile() { _iniFileMode = IniFileMode.Normal; }
public IniFile(IniFileMode mode) { _iniFileMode = mode; }
public IniFile([CanBeNull] string filename, IniFileMode mode = IniFileMode.Normal) : base(InnerIniFileModeTrick(filename, mode)) { _trickIniFileMode = null; _iniFileMode = mode; }
// I feel like I’ve sort of kicked a puppy right now private static string InnerIniFileModeTrick(string s, IniFileMode mode) { _trickIniFileMode = mode; return(s); }
public IniFile(string filename, IniFileMode mode) : base(InnerIniFileModeTrick(filename, mode)) { _trickIniFileMode = null; _iniFileMode = mode; }
public IniFile(string carDir, string filename, Acd loadedAcd, IniFileMode mode) : base(carDir, InnerIniFileModeTrick(filename, mode), loadedAcd) { _trickIniFileMode = null; _iniFileMode = mode; }