/// <summary> /// Adds the specified line. /// </summary> /// <param name="line">The line.</param> /// <returns>System.Int32.</returns> /// <inheritdoc /> public int Add(string line) { var delimiter = PreferencesHelpers.DecideDelimiterFromLine(line); var result = Add(line, delimiter); return(result); }
/// <summary> /// Adds the specified line. /// </summary> /// <param name="line">The line.</param> /// <param name="delimiter">The delimiter.</param> /// <returns>System.Int32.</returns> /// <inheritdoc /> public int Add(string line, char delimiter) { var record = PreferencesHelpers.Parse(line, delimiter); var result = Add(record); return(result); }