NUnit.Framework.Constraints.ComparisonConstraint Members

The members of NUnit.Framework.Constraints.ComparisonConstraint are listed below.

See Also: Inherited members from NUnit.Framework.Constraints.Constraint

Public Constructors

Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Initializes a new instance of the ComparisonConstraint class.

Protected Fields

comparerComparisonAdapter. Documentation for this section has not yet been entered.
eqOKbool. if true, equal returns success
expectedobject. The value against which a comparison is to be made
gtOKbool. if true, greater than returns success
ltOKbool. If true, less than returns success

Public Methods

override
Matches(object) : bool
Test whether the constraint is satisfied by a given value
Using(IComparer) : ComparisonConstraint
Modifies the constraint to use an IComparer and returns self
Using<T>(IComparer<T>) : ComparisonConstraint
Modifies the constraint to use an IComparer<T> and returns self
Using<T>(Comparison<T>) : ComparisonConstraint
Modifies the constraint to use a Comparison<T> and returns self
override
WriteDescriptionTo(MessageWriter)
Write the constraint description to a MessageWriter