public bool Write <T>(string section, string key, T value, GenericConvert <T> convert) { if (convert == null) { throw new ArgumentNullException("convert"); } return(Write(section, key, convert(value))); }
public static void Write <T>(this IniFile2 ini, string section, string key, T value, GenericConvert <T> convert) { ValidateIniArgument(ini); if (convert == null) { throw new ArgumentNullException("convert"); } ini[section, key] = convert(value); }