Click or drag to resize

MediaWikiHelperJoinValuesT Method

This is preliminary documentation and is subject to change.

Joins multiple values that will be used as parameter value in MediaWiki API request.

Namespace: WikiClientLibrary.Infrastructures
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static string JoinValues<T>(
	IEnumerable<T> values
)

Parameters

values  IEnumerableT
The values to be joined. ToString will be invoked before concatenating the sequence.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:WikiClientLibrary.Infrastructures.MediaWikiHelper.JoinValues``1(System.Collections.Generic.IEnumerable{``0})"]

Return Value

String
A string of values joined by pipe character or alternative multiple-value separator (U+001F), or Empty if values is empty sequence.
Exceptions
ExceptionCondition
ArgumentExceptionThe values contain pipe character '|' and Unit Separator '\u001F' at the same time.
See Also