Skip to content

Commit 57ce8f7

Browse files
authored
Task<dynamic[]> ToDynamicArrayAsync + Task<List<dynamic>> ToDynamicListAsync (#329)
1 parent 6987cd2 commit 57ce8f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/System.Linq.Dynamic.Core/DynamicEnumerableAsyncExtensions.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static Task<dynamic[]> ToDynamicArrayAsync([NotNull] this IEnumerable sou
2424
Check.NotNull(source, nameof(source));
2525
Check.NotNull(type, nameof(type));
2626

27-
return Task.Run(() => source.ToDynamicArray());
27+
return Task.Run(() => source.ToDynamicArray(type));
2828
}
2929

3030
/// <summary>
@@ -64,7 +64,7 @@ public static Task<List<dynamic>> ToDynamicListAsync([NotNull] this IEnumerable
6464
Check.NotNull(source, nameof(source));
6565
Check.NotNull(type, nameof(type));
6666

67-
return Task.Run(() => source.ToDynamicList());
67+
return Task.Run(() => source.ToDynamicList(type));
6868
}
6969

7070
/// <summary>
@@ -103,4 +103,4 @@ private static Task<List<T>> CastToListAsync<T>(IEnumerable source)
103103
}
104104
}
105105
}
106-
#endif
106+
#endif

0 commit comments

Comments
 (0)