Skip to content

ReadOnlySpanAssertionsChain<TItem> Struct

Definition

Enables chaining of assertions on a read-only span value after a successful assertion.

public sealed struct ReadOnlySpanAssertionsChain<TItem>

Type Parameters

Name Description
TItem The type of elements in the span.

Constructors

Name Description
ReadOnlySpanAssertionsChain(ReadOnlySpanAssertions<TItem>) Enables chaining of assertions on a read-only span value after a successful assertion.

Properties

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