浏览代码

Add review comment to StartWith.

Bart De Smet 6 年之前
父节点
当前提交
a2845c9de7
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Ix.NET/Source/System.Interactive.Async/System/Linq/Operators/StartWith.cs

+ 3 - 0
Ix.NET/Source/System.Interactive.Async/System/Linq/Operators/StartWith.cs

@@ -8,6 +8,9 @@ namespace System.Linq
 {
 {
     public static partial class AsyncEnumerableEx
     public static partial class AsyncEnumerableEx
     {
     {
+        // REVIEW: This is really an n-ary Prepend. Should we add n-ary overloads of Append and Prepend as well?
+        //         If so, likely in Ix rather than System.Linq.Async.
+
         public static IAsyncEnumerable<TSource> StartWith<TSource>(this IAsyncEnumerable<TSource> source, params TSource[] values)
         public static IAsyncEnumerable<TSource> StartWith<TSource>(this IAsyncEnumerable<TSource> source, params TSource[] values)
         {
         {
             if (source == null)
             if (source == null)