Table of Contents

Class EnumerableExtensions

Namespace
LinqToDB.Tools
Assembly
linq2db.Tools.dll
public static class EnumerableExtensions
Inheritance
EnumerableExtensions

Methods

ToDiagnosticString<T>(IEnumerable<T>, string?, bool)

Returns well formatted text.

public static string ToDiagnosticString<T>(this IEnumerable<T> source, string? header = null, bool addTableHeader = true)

Parameters

source IEnumerable<T>

Source to process.

header string

Optional header text.

addTableHeader bool

if true (default), adds table header.

Returns

string

Formatted text.

Type Parameters

T

ToDiagnosticString<T>(IEnumerable<T>, StringBuilder, bool)

Returns well formatted text.

public static StringBuilder ToDiagnosticString<T>(this IEnumerable<T> source, StringBuilder stringBuilder, bool addTableHeader = true)

Parameters

source IEnumerable<T>

Source to process.

stringBuilder StringBuilder

StringBuilder instance.

addTableHeader bool

if true (default), adds table header.

Returns

StringBuilder

Formatted text.

Type Parameters

T