Skip to content

ObjectAssertionsChain<T> Struct

Definition

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

public sealed struct ObjectAssertionsChain<T>

Type Parameters

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

Constructors

Name Description
ObjectAssertionsChain(ObjectAssertions<T>) Enables chaining of assertions on an object value after a successful assertion.

Properties

Name Description
And Gets the assertions object for chaining further assertions.
That Gets the value being asserted on, for use in further assertions via .Should().
Value Gets the value being asserted on.