Class TrueException
Exception thrown when a value is unexpectedly false.
Inherited Members
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class TrueException : AssertActualExpectedException
Constructors
| Improve this Doc View SourceTrueException(String, Nullable<Boolean>)
Creates a new instance of the TrueException class.
Declaration
public TrueException(string userMessage, bool? value)
Parameters
Type | Name | Description |
---|---|---|
String | userMessage | The user message to be displayed, or null for the default message |
Nullable<Boolean> | value | The actual value |