C# Класс NFluent.EnumerableFluentSyntaxExtension

Provides extension method on a ICheckLink for IEnumerable types.
Показать файл Открыть проект

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

Метод Описание
InThatOrder ( IEnumerable>.this chainedCheckLink ) : IEnumerable>.IExtendableCheckLink

Checks that the checked IEnumerable contains items in the expected order.

Once ( IEnumerable>.this chainedCheckLink ) : IEnumerable>.IExtendableCheckLink

Checks that the checked IEnumerable contains the expected list of items only once.

Only ( IEnumerable>.this chainedCheckLink ) : IEnumerable>.IExtendableCheckLink

Checks that the checked IEnumerable contains only the authorized items. Can only be used after a call to Contains.

Приватные методы

Метод Описание
ConvertToList ( IEnumerable>.IExtendableCheckLink chainedCheckLink ) : List

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

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

Checks that the checked IEnumerable contains items in the expected order.
public static InThatOrder ( IEnumerable>.this chainedCheckLink ) : IEnumerable>.IExtendableCheckLink
chainedCheckLink IEnumerable>.this /// The chained fluent check. ///
Результат IEnumerable>.IExtendableCheckLink

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

Checks that the checked IEnumerable contains the expected list of items only once.
public static Once ( IEnumerable>.this chainedCheckLink ) : IEnumerable>.IExtendableCheckLink
chainedCheckLink IEnumerable>.this /// The chained fluent check. ///
Результат IEnumerable>.IExtendableCheckLink

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

Checks that the checked IEnumerable contains only the authorized items. Can only be used after a call to Contains.
public static Only ( IEnumerable>.this chainedCheckLink ) : IEnumerable>.IExtendableCheckLink
chainedCheckLink IEnumerable>.this /// The chained fluent check. ///
Результат IEnumerable>.IExtendableCheckLink