The members of NUnit.Framework.Constraints.ThrowsConstraint are listed below.
See Also: Inherited members from NUnit.Framework.Constraints.PrefixConstraint
| Initializes a new instance of the ThrowsConstraint class, using a constraint to be applied to the exception. |
| [read-only] | ActualException | Exception. Get the actual exception thrown - used by Assert.Throws. |
override | Matches(object)Executes the code of the delegate and captures any exception. If a non-null base constraint was provided, it applies that constraint to the exception. | |
override | Matches<T>(ActualValueDelegate<T>)Documentation for this section has not yet been entered. | |
override | ToString()Returns the string representation of this constraint | |
override | WriteActualValueTo(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. | |
override | WriteDescriptionTo(MessageWriter)Write the constraint description to a MessageWriter | |
override | GetStringRepresentation()Documentation for this section has not yet been entered. | |