xUnit.net
|
Exception thrown when a value is unexpectedly not in the given range. More...
Public Member Functions | |
InRangeException (object actual, object low, object high) | |
Creates a new instance of the InRangeException class. More... | |
Public Member Functions inherited from Xunit.Sdk.XunitException | |
XunitException () | |
Initializes a new instance of the XunitException class. More... | |
XunitException (string userMessage) | |
Initializes a new instance of the XunitException class. More... | |
override string | ToString () |
Properties | |
string | Actual [get] |
Gets the actual object value More... | |
string | High [get] |
Gets the high value of the range More... | |
string | Low [get] |
Gets the low value of the range More... | |
override string?? | Message [get] |
Gets a message that describes the current exception. More... | |
Properties inherited from Xunit.Sdk.XunitException | |
override string?? | StackTrace [get] |
Gets a string representation of the frames on the call stack at the time the current exception was thrown. More... | |
string | UserMessage [get, protected set] |
Gets the user message More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Xunit.Sdk.XunitException | |
XunitException (string userMessage, Exception innerException) | |
Initializes a new instance of the XunitException class. More... | |
XunitException (string userMessage, string stackTrace) | |
Initializes a new instance of the XunitException class. More... | |
Exception thrown when a value is unexpectedly not in the given range.
|
inline |
Creates a new instance of the InRangeException class.
actual | The actual object value |
low | The low value of the range |
high | The high value of the range |
|
get |
Gets the actual object value
|
get |
Gets the high value of the range
|
get |
Gets the low value of the range
|
get |
Gets a message that describes the current exception.