/// <inheritdoc/> public string ToDelimitedString() { CultureInfo culture = CultureInfo.CurrentCulture; return(string.Format( culture, StringHelper.StringFormatSequence(0, 4, Configuration.FieldSeparator), Id, MessageQueryName?.ToDelimitedString(), QueryTag, UserParametersInSuccessiveFields ).TrimEnd(Configuration.FieldSeparator.ToCharArray())); }
/// <inheritdoc/> public string ToDelimitedString() { CultureInfo culture = CultureInfo.CurrentCulture; return(string.Format( culture, StringHelper.StringFormatSequence(0, 7, Configuration.FieldSeparator), Id, QueryTag, QueryResponseStatus, MessageQueryName?.ToDelimitedString(), HitCountTotal.HasValue ? HitCountTotal.Value.ToString(Consts.NumericFormat, culture) : null, ThisPayload.HasValue ? ThisPayload.Value.ToString(Consts.NumericFormat, culture) : null, HitsRemaining.HasValue ? HitsRemaining.Value.ToString(Consts.NumericFormat, culture) : null ).TrimEnd(Configuration.FieldSeparator.ToCharArray())); }