|
xUnit.net
|
Exception thrown when the collection did not contain exactly one element. More...
Static Public Member Functions | |
| static SingleException | Empty () |
| Creates an instance of SingleException for when the collection was empty. More... | |
| static SingleException | MoreThanOne () |
| Creates an instance of SingleException for when the collection had too many items. More... | |
Additional Inherited Members | |
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 () |
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... | |
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... | |
Exception thrown when the collection did not contain exactly one element.
|
static |
Creates an instance of SingleException for when the collection was empty.
|
static |
Creates an instance of SingleException for when the collection had too many items.
1.8.15