/// <summary> /// Converts the list to a string where all values a seperated by the given seperator. /// </summary> /// <param name="values">Values to convert to string.</param> /// <param name="seperator">Seperator.</param> /// <param name="nullValue">The string which is used for null values.</param> /// <returns>String representation of the given value list.</returns> public static string ConvertToStringRepresentation(this IEnumerable values, string seperator, string nullValue) { return(UniversalTypeConverter.ConvertToStringRepresentation(values, seperator, nullValue)); }
/// <summary> /// Converts the list to a string. /// </summary> /// <param name="values">Values to convert to string.</param> /// <param name="culture">The CultureInfo to use as the current culture.</param> /// <param name="stringConcatenator">The concatenator which is used to build the string.</param> /// <returns>String representation of the given value list.</returns> public static string ConvertToStringRepresentation(this IEnumerable values, CultureInfo culture, IStringConcatenator stringConcatenator) { return(UniversalTypeConverter.ConvertToStringRepresentation(values, culture, stringConcatenator)); }
/// <summary> /// Converts the list to a semicolon seperated string. /// </summary> /// <param name="values">Values to convert to string.</param> /// <returns>String representation of the given value list.</returns> public static string ConvertToStringRepresentation(this IEnumerable values) { return(UniversalTypeConverter.ConvertToStringRepresentation(values)); }