ConstraintFactory.Member(Object) Method

Definition

Returns a new CollectionContainsConstraint checking for the presence of a particular object in the collection.

public NUnit.Framework.Constraints.CollectionContainsConstraint Member (object expected);
member this.Member : obj -> NUnit.Framework.Constraints.CollectionContainsConstraint

Parameters

expected
Object

Returns

CollectionContainsConstraint

Applies to