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

NoItemConstraint applies another constraint to each item in a collection, failing if any of them succeeds.
Inheritance: PrefixConstraint
Mostra file Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
Matches ( object actual ) : bool

Apply the item constraint to each item in the collection, failing if any item fails.

NoItemConstraint ( Constraint itemConstraint ) : System

Construct a NoItemConstraint on top of an existing constraint

WriteDescriptionTo ( MessageWriter writer ) : void

Write a description of this constraint to a MessageWriter

Method Details

Matches() public method

Apply the item constraint to each item in the collection, failing if any item fails.
public Matches ( object actual ) : bool
actual object
return bool

NoItemConstraint() public method

Construct a NoItemConstraint on top of an existing constraint
public NoItemConstraint ( Constraint itemConstraint ) : System
itemConstraint Constraint
return System

WriteDescriptionTo() public method

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