C# Класс NFluent.EnumerableExtensions

Extension methods for adding new fluent methods to enumerable.
Показать файл Открыть проект

Открытые методы

Метод Описание
Count ( this enumerable ) : long

Returns the number of items present within the specified enumerable (returns 0 if the enumerable is null).

ToEnumeratedString ( this enumerable ) : string

Return a string containing all the IEnumerable elements, separated by a comma.

ToEnumeratedString ( this enumerable, long &itemsCount ) : string

Return a string containing all the elements of an IEnumerable, separated by a comma.

ToEnumeratedString ( this enumerable, long &itemsCount, string separator ) : string

Return a string containing all the elements of an IEnumerable, separated by a given separator.

ToEnumeratedString ( this enumerable, string separator ) : string

Return a string containing all the elements of an IEnumerable, separated by a given separator.

Описание методов

Count() публичный статический Метод

Returns the number of items present within the specified enumerable (returns 0 if the enumerable is null).
public static Count ( this enumerable ) : long
enumerable this The enumerable.
Результат long

ToEnumeratedString() публичный статический Метод

Return a string containing all the IEnumerable elements, separated by a comma.
public static ToEnumeratedString ( this enumerable ) : string
enumerable this The enumerable to transform into a string.
Результат string

ToEnumeratedString() публичный статический Метод

Return a string containing all the elements of an IEnumerable, separated by a comma.
public static ToEnumeratedString ( this enumerable, long &itemsCount ) : string
enumerable this The enumerable to transform into a string.
itemsCount long The number of items within the .
Результат string

ToEnumeratedString() публичный статический Метод

Return a string containing all the elements of an IEnumerable, separated by a given separator.
public static ToEnumeratedString ( this enumerable, long &itemsCount, string separator ) : string
enumerable this The enumerable to transform into a string.
itemsCount long The number of items within the .
separator string The separator.
Результат string

ToEnumeratedString() публичный статический Метод

Return a string containing all the elements of an IEnumerable, separated by a given separator.
public static ToEnumeratedString ( this enumerable, string separator ) : string
enumerable this The enumerable to transform into a string.
separator string The separator.
Результат string