The methods 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
After(int)Documentation for this section has not yet been entered. | ||
After(int, int)Documentation for this section has not yet been entered. | ||
abstract | Matches(object)Test whether the constraint is satisfied by a given value | |
Matches<T>(NUnit.Framework.Constraints.ActualValueDelegate<T>)Documentation for this section has not yet been entered. | ||
Matches<T>(ref T)Documentation for this section has not yet been entered. | ||
override | ToString()Default override of ToString returns the constraint DisplayName followed by any arguments within angle brackets. | |
WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)Write the actual value for a failing constraint test to a MessageWriter. The default implementation simply writes the raw value of actual, leaving it to the writer to perform any formatting. | ||
abstract | WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)Write the constraint description to a MessageWriter | |
WriteMessageTo(NUnit.Framework.Constraints.MessageWriter)Write the failure message to the MessageWriter provided as an argument. The default implementation simply passes the constraint and the actual value to the writer, which then displays the constraint description and the value. Constraints that need to provide additional details, such as where the error occured can override this. |
GetStringRepresentation()Documentation for this section has not yet been entered. |