summaryrefslogtreecommitdiff
path: root/FireBase/Extensions/TaskExtensions.cs
diff options
context:
space:
mode:
authoruzvkl <dennis.kobert@student.kit.edu>2019-06-11 23:05:52 +0200
committeruzvkl <dennis.kobert@student.kit.edu>2019-06-11 23:05:52 +0200
commite6181c24124d97f2fbc932b8a68311e625463156 (patch)
treec1f097c344ca266b7941c9668590b0fd35c7870a /FireBase/Extensions/TaskExtensions.cs
parent2490ad5d31fe2ac778ff9303776f0e91f47a2862 (diff)
Move dsa related stuff to subfolder
Diffstat (limited to 'FireBase/Extensions/TaskExtensions.cs')
-rw-r--r--FireBase/Extensions/TaskExtensions.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/FireBase/Extensions/TaskExtensions.cs b/FireBase/Extensions/TaskExtensions.cs
deleted file mode 100644
index c955b3a..0000000
--- a/FireBase/Extensions/TaskExtensions.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using System;
-using System.Threading.Tasks;
-
-namespace Firebase.Database.Extensions
-{
- public static class TaskExtensions
- {
- /// <summary>
- /// Instead of unwrapping <see cref="AggregateException" /> it throws it as it is.
- /// </summary>
- public static async Task WithAggregateException(this Task source)
- {
- try
- {
- await source.ConfigureAwait(false);
- }
- catch (Exception ex)
- {
- throw source.Exception ?? ex;
- }
- }
- }
-} \ No newline at end of file