Show / Hide Table of Contents

Class NotEqualException

Exception thrown when two values are unexpectedly equal.

Inheritance
Object
XunitException
AssertActualExpectedException
NotEqualException
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 NotEqualException : AssertActualExpectedException

Constructors

| Improve this Doc View Source

NotEqualException(String, String)

Creates a new instance of the NotEqualException class.

Declaration
public NotEqualException(string expected, string actual)
Parameters
Type Name Description
String expected
String actual
  • Improve this Doc
  • View Source
Back to top Generated by DocFX