C# Класс NUnit.Framework.Constraints.CollectionContainsConstraint

CollectionContainsConstraint is used to test whether a collection contains an expected object as a member.
Наследование: NUnit.Framework.Constraints.CollectionConstraint
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CollectionContainsConstraint ( object expected ) : System.Collections

Construct a CollectionContainsConstraint

WriteDescriptionTo ( MessageWriter writer ) : void

Write a descripton of the constraint to a MessageWriter

Защищенные методы

Метод Описание
doMatch ( IEnumerable actual ) : bool

Test whether the expected item is contained in the collection

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

CollectionContainsConstraint() публичный Метод

Construct a CollectionContainsConstraint
public CollectionContainsConstraint ( object expected ) : System.Collections
expected object
Результат System.Collections

WriteDescriptionTo() публичный Метод

Write a descripton of the constraint to a MessageWriter
public WriteDescriptionTo ( MessageWriter writer ) : void
writer MessageWriter
Результат void

doMatch() защищенный Метод

Test whether the expected item is contained in the collection
protected doMatch ( IEnumerable actual ) : bool
actual IEnumerable
Результат bool