Table of Contents

Class ResultAssertionsExtensions

Namespace
Trellis.Testing
Assembly
Trellis.Testing.dll

Extension methods to enable FluentAssertions on Result types.

public static class ResultAssertionsExtensions
Inheritance
ResultAssertionsExtensions
Inherited Members

Methods

Should<TValue>(Result<TValue>)

Returns an assertions object for fluent assertions on Result.

public static ResultAssertions<TValue> Should<TValue>(this Result<TValue> result)

Parameters

result Result<TValue>

Returns

ResultAssertions<TValue>

Type Parameters

TValue