Table of Contents

Class CombineExtensions

Namespace
Trellis
Assembly
Trellis.Core.dll

Combines two or more Result<TValue> into one tuple containing all the Results.

public static class CombineExtensions
Inheritance
CombineExtensions
Inherited Members

Methods

Combine<T1, T2>(Result<T1>, Result<T2>)

Combine two Result<TValue> into one Tuple containing all the Results.

public static Result<(T1, T2)> Combine<T1, T2>(this Result<T1> t1, Result<T2> t2)

Parameters

t1 Result<T1>
t2 Result<T2>

Returns

Result<(T1, T2)>

Tuple containing both the results.

Type Parameters

T1
T2