Skip to content

ReadOnlyDictionaryAssertionsChain<TDictionary, TKey, TValue> Struct

Definition

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

public sealed struct ReadOnlyDictionaryAssertionsChain<TDictionary, TKey, TValue>
   where TDictionary : IReadOnlyDictionary<TKey, TValue>

Type Parameters

Name Description
TDictionary The type of the dictionary being asserted on.
TKey The type of the dictionary keys.
TValue The type of the dictionary values.

Constructors

Name Description
ReadOnlyDictionaryAssertionsChain(ReadOnlyDictionaryAssertions<TDictionary, TKey, TValue>) Enables chaining of assertions on a read-only dictionary value after a successful assertion.

Properties

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