NUnit.Framework.Constraints.Tolerance: Property Members

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

See Also: Inherited members from System.Object

Public Properties

[read-only]
DaysTolerance. Returns a new tolerance with a TimeSpan as the amount, using the current amount as a number of days.
[read-only]
static
EmptyTolerance. Returns an empty Tolerance object, equivalent to specifying an exact match.
[read-only]
HoursTolerance. Returns a new tolerance with a TimeSpan as the amount, using the current amount as a number of hours.
[read-only]
IsEmptybool. Returns true if the current tolerance is empty.
[read-only]
MillisecondsTolerance. Returns a new tolerance with a TimeSpan as the amount, using the current amount as a number of milliseconds.
[read-only]
MinutesTolerance. Returns a new tolerance with a TimeSpan as the amount, using the current amount as a number of minutes.
[read-only]
ModeToleranceMode. Gets the ToleranceMode for the current Tolerance
[read-only]
PercentTolerance. Returns a new tolerance, using the current amount as a percentage.
[read-only]
SecondsTolerance. Returns a new tolerance with a TimeSpan as the amount, using the current amount as a number of seconds.
[read-only]
TicksTolerance. Returns a new tolerance with a TimeSpan as the amount, using the current amount as a number of clock ticks.
[read-only]
UlpsTolerance. Returns a new tolerance, using the current amount in Ulps.
[read-only]
Valueobject. Gets the value of the current Tolerance instance.
[read-only]
static
ZeroTolerance. Documentation for this section has not yet been entered.