-
Notifications
You must be signed in to change notification settings - Fork 313
Open
Labels
Description
Hi,
Is there a way to use Combine in such a way that a result of Combine contains valueses of two/more results passed into Combine ?
Imagine the code below
Result<string> result1 = GetName();
Result<int> result2 = GetAge();
Result.Combine(result1, result2).Bind(nameAndAge => ...)
Can I somehow use Result.Combine
so that nameAndAge
contains valueses of result1
and result2
(as a tuple, anonymous type, etc.) ?