NUnit.Framework.Has Members

The members of NUnit.Framework.Has are listed below.

See Also: Inherited members from System.Object

Public Constructors

Has()
Documentation for this section has not yet been entered.

Public Properties

[read-only]
static
AllNUnit.Framework.Constraints.ConstraintExpression. Returns a ConstraintExpression, which will apply the following constraint to all members of a collection, succeeding if all of them succeed.
[read-only]
static
CountNUnit.Framework.Constraints.ResolvableConstraintExpression. Returns a new ConstraintExpression, which will apply the following constraint to the Count property of the object being tested.
[read-only]
static
InnerExceptionNUnit.Framework.Constraints.ResolvableConstraintExpression. Returns a new ConstraintExpression, which will apply the following constraint to the InnerException property of the object being tested.
[read-only]
static
LengthNUnit.Framework.Constraints.ResolvableConstraintExpression. Returns a new ConstraintExpression, which will apply the following constraint to the Length property of the object being tested.
[read-only]
static
MessageNUnit.Framework.Constraints.ResolvableConstraintExpression. Returns a new ConstraintExpression, which will apply the following constraint to the Message property of the object being tested.
[read-only]
static
NoNUnit.Framework.Constraints.ConstraintExpression. Returns a ConstraintExpression that negates any following constraint.
[read-only]
static
NoneNUnit.Framework.Constraints.ConstraintExpression. Returns a ConstraintExpression, which will apply the following constraint to all members of a collection, succeeding if all of them fail.
[read-only]
static
SomeNUnit.Framework.Constraints.ConstraintExpression. Returns a ConstraintExpression, which will apply the following constraint to all members of a collection, succeeding if at least one of them succeeds.

Public Methods

static
Attribute(Type) : NUnit.Framework.Constraints.ResolvableConstraintExpression
Returns a new AttributeConstraint checking for the presence of a particular attribute on an object.
static
Attribute<T>() : NUnit.Framework.Constraints.ResolvableConstraintExpression
Returns a new AttributeConstraint checking for the presence of a particular attribute on an object.
static
Exactly(int) : NUnit.Framework.Constraints.ConstraintExpression
Documentation for this section has not yet been entered.
static
Member(object) : NUnit.Framework.Constraints.CollectionContainsConstraint
Returns a new CollectionContainsConstraint checking for the presence of a particular object in the collection.
static
Property(string) : NUnit.Framework.Constraints.ResolvableConstraintExpression
Returns a new PropertyConstraintExpression, which will either test for the existence of the named property on the object being tested or apply any following constraint to that property.