Show / Hide Table of Contents

Class TrueException

Exception thrown when a value is unexpectedly false.

Inheritance
Object
XunitException
AssertActualExpectedException
TrueException
Inherited Members
AssertActualExpectedException.Actual
AssertActualExpectedException.ActualTitle
AssertActualExpectedException.Expected
AssertActualExpectedException.ExpectedTitle
AssertActualExpectedException.Message
XunitException.StackTrace
XunitException.UserMessage
XunitException.ToString()
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class TrueException : AssertActualExpectedException

Constructors

| Improve this Doc View Source

TrueException(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

  • Improve this Doc
  • View Source
Back to top Generated by DocFX