C# Class UnityEngine.NUnit.Framework.Constraints.EmptyCollectionConstraint

EmptyCollectionConstraint tests whether a collection is empty.
Inheritance: CollectionConstraint
Mostrar archivo Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
WriteDescriptionTo ( MessageWriter writer ) : void

Write the constraint description to a MessageWriter

Protected Methods

Method Description
doMatch ( IEnumerable collection ) : bool

Check that the collection is empty

Method Details

WriteDescriptionTo() public method

Write the constraint description to a MessageWriter
public WriteDescriptionTo ( MessageWriter writer ) : void
writer MessageWriter
return void

doMatch() protected method

Check that the collection is empty
protected doMatch ( IEnumerable collection ) : bool
collection IEnumerable
return bool