| JSONConstraint Methods |
The JSONConstraint type exposes the following members.
| Name | Description | |
|---|---|---|
| After(Int32) | (Inherited from Constraint.) | |
| After(Int32, Int32) | (Inherited from Constraint.) | |
| GetStringRepresentation | (Inherited from Constraint.) | |
| IsSimilarTo(JObject) |
Creates JSONConstraint which compares the test-Object with the given JObject.
| |
| IsSimilarTo(String) |
Creates JSONConstraint which compares the test-Object with the given string.
| |
| Matches(Object) |
Tests whether the constraint is satisfied by a given value.
(Overrides Constraint.Matches(Object).) | |
| Matches``1(ActualValueDelegateUMP) | (Inherited from Constraint.) | |
| Matches``1(UMP) | (Inherited from Constraint.) | |
| ToString | (Inherited from Constraint.) | |
| WriteActualValueTo |
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.
(Overrides Constraint.WriteActualValueTo(MessageWriter).) | |
| WriteDescriptionTo |
Writes the constraint description to a MessageWriter
(Overrides Constraint.WriteDescriptionTo(MessageWriter).) | |
| WriteMessageTo | (Inherited from Constraint.) |