Table of Contents

Method LogJoin

Namespace
WhalesSecret.TradeScriptLib.Logging
Assembly
WhalesSecret.TradeScriptLib.dll

LogJoin(IEnumerable, char)

Extension of enumerable to format a comma separated string.

public static string LogJoin(this IEnumerable objects, char separator = ',')

Parameters

objects IEnumerable

Objects to format.

separator char

Separator to put between the items of the enumerable on the output.

Returns

string

Formatted separator-separated string.

LogJoin(Span<string>, char)

Extension of span of strings to format a comma separated string.

public static string LogJoin(this Span<string> array, char separator = ',')

Parameters

array Span<string>

Span of strings to format.

separator char

Separator to put between the strings on the output.

Returns

string

Formatted separator-separated string.