AsyncEnumerable.Concat Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Concatenates two sequences.
public:
generic
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IAsyncEnumerable ^ Concat(System::Collections::Generic::IAsyncEnumerable ^ first, System::Collections::Generic::IAsyncEnumerable ^ second);
public static System.Collections.Generic.IAsyncEnumerable Concat(this System.Collections.Generic.IAsyncEnumerable first, System.Collections.Generic.IAsyncEnumerable second);
static member Concat : System.Collections.Generic.IAsyncEnumerable<'Source> * System.Collections.Generic.IAsyncEnumerable<'Source> -> System.Collections.Generic.IAsyncEnumerable<'Source>
Public Function Concat(Of TSource) (first As IAsyncEnumerable(Of TSource), second As IAsyncEnumerable(Of TSource)) As IAsyncEnumerable(Of TSource)
Type Parameters
- TSource
The type of the elements of the input sequences.
Parameters
- first
-
IAsyncEnumerable
The first sequence to concatenate.
- second
-
IAsyncEnumerable
The sequence to concatenate to the first sequence.
Returns
An IAsyncEnumerable
Exceptions
second is null.