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.) ?
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
Can I somehow use
Result.Combineso thatnameAndAgecontains valueses ofresult1andresult2(as a tuple, anonymous type, etc.) ?