<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.2.1" />

kCura.Utility.Extensions.Enumerable

public sealed class Enumerable
Provides access to extension methods over IEnumerable(of T).
public static bool IsNullOrEmpty<T>(IEnumerable<T> input)

Indicates whether or not the sequence is null or empty.

public static ArrayList ToArrayList<T>(IEnumerable<T> input)

Transforms the sequence to an ArrayList. Used for backwards compatibility.

public static string ToCsv<T>(IEnumerable<T> input)

Transforms a sequence of values to a comma-delimited string.

public static string ToCsv<T>(IEnumerable<T> input, Func<T, string> itemStringifier)

Transforms a sequence of values to a comma-delimited string, using the provided string transformation function.

public static string ToCsv<T>(IEnumerable<T> input, string format)

Transforms a sequence of values to a comma-delimited string, using the items' ToString() method.

public static string ToCsv(ArrayList arrayList, string format = "{0}")

Transforms a sequence of values to a comma-delimited string, using the provided format string for each item's ToString() method.

public static string ToDelimitedString<T>(IEnumerable<T> input, string delimiter, Func<T, string> itemStringifier)

Transforms a sequence of values to a delimited string, using the provided delimiter, bound and string transformation function.

public static string ToDelimitedString<T>(IEnumerable<T> input, string delimiter = ",", string bound = "", string cellFormat = "{0}")

Transforms a sequence of values to a delimited string, using the provided delimiter, bound and format string.

public static string ToDelimitedString(ArrayList arrayList, string delimiter = ",", string bound = "", string cellFormat = "{0}")

Transforms a sequence of values to a delimited string, using the provided delimiter and bound.