NUnit.Framework.Constraints.Constraint: Property Members

The properties of NUnit.Framework.Constraints.Constraint are listed below. For a list of all members, see the Constraint Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
AndNUnit.Framework.Constraints.ConstraintExpression. Returns a ConstraintExpression by appending And to the current constraint.
[read-only]
OrNUnit.Framework.Constraints.ConstraintExpression. Returns a ConstraintExpression by appending Or to the current constraint.
[read-only]
WithNUnit.Framework.Constraints.ConstraintExpression. Returns a ConstraintExpression by appending And to the current constraint.

Protected Properties

DisplayNamestring. The display name of this Constraint for use by ToString(). The default value is the name of the constraint with trailing "Constraint" removed. Derived classes may set this to another name in their constructors.