From e088146b4f5da27c1db71d9f3b35bfdc51d976b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Ni=C3=9Fl?= Date: Tue, 14 Apr 2020 11:46:39 +0200 Subject: [PATCH] BindWithTransactionScope added. --- .../Result/Extensions/BindWithTransactionScope.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScope.cs b/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScope.cs index 252a2b23..7d7bcb91 100644 --- a/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScope.cs +++ b/CSharpFunctionalExtensions/Result/Extensions/BindWithTransactionScope.cs @@ -16,6 +16,9 @@ public static Result BindWithTransactionScope(this Result self, Func f) => WithTransactionScope(() => self.Bind(f)); + + public static Result BindWithTransactionScope(this Result self, Func> f) + => WithTransactionScope(() => self.Bind(f)); } } #endif