C# 클래스 NUnit.Framework.Constraints.CollectionContainsConstraint

CollectionContainsConstraint is used to test whether a collection contains an expected object as a member.
상속: NUnit.Framework.Constraints.CollectionConstraint
파일 보기 프로젝트 열기: nunit-legacy/nunitv2 1 사용 예제들

공개 메소드들

메소드 설명
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