The AssertionFailureBuilder type exposes the following members.

Constructors

  NameDescription
AssertionFailureBuilderOverloaded.

Methods

  NameDescription
AddExceptionOverloaded.
AddInnerFailure
Adds a nested assertion failure that contributed to the composite assertion failure described by this instance.
AddInnerFailures
Adds an enumeration of nested assertion failures that contributed to the composite assertion failure described by this instance.
AddLabeledValueOverloaded.
AddRawActualValue
Adds the raw actual value to be formatted using Formatter.
AddRawExpectedAndActualValuesWithDiffs
Adds the raw expected and actual values to be formatted using Formatter and includes formatting of their differences.
AddRawExpectedValue
Adds the raw expected value to be formatted using Formatter.
AddRawLabeledValue
Adds a raw labeled value to be formatted using Formatter.
AddRawLabeledValuesWithDiffs
Adds two raw labeled values formatted using Formatter and includes formatting of their differences.
CreateAssertionFailure
Creates an assertion failure object.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
If
Executes an action on the assertion failure builder if the specified condition is true.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SetMessageOverloaded.
SetStackTrace
Sets the stack trace.
ToAssertionFailure
Generates an immutable object that describes the failure.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Extension Methods

  NameDescription
FormatOverloaded.

Properties

  NameDescription
Formatter
Gets the formatted used by the builder.

See Also