Skip to content

ExceptionAssertionsChain<T> Struct

Definition

Enables chaining of assertions on an exception value after a successful assertion.

public sealed struct ExceptionAssertionsChain<T>
   where T : Exception

Type Parameters

Name Description
T The type of the exception being asserted on.

Constructors

Name Description
ExceptionAssertionsChain(ExceptionAssertions<T>) Enables chaining of assertions on an exception value after a successful assertion.

Properties

Name Description
And Gets the assertions object for chaining further assertions.
Value Gets the exception value being asserted on.