AsyncEnumerable.Zip Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| Zip<TFirst,TSecond,TResult>(IAsyncEnumerable<TFirst>, IAsyncEnumerable<TSecond>, Func<TFirst,TSecond,CancellationToken,ValueTask<TResult>>) |
Hiermee past u een opgegeven functie toe op de bijbehorende elementen van twee reeksen, waardoor een reeks resultaten wordt geproduceerd. |
| Zip<TFirst,TSecond,TResult>(IAsyncEnumerable<TFirst>, IAsyncEnumerable<TSecond>, Func<TFirst,TSecond,TResult>) |
Hiermee past u een opgegeven functie toe op de bijbehorende elementen van twee reeksen, waardoor een reeks resultaten wordt geproduceerd. |
| Zip<TFirst,TSecond,TThird>(IAsyncEnumerable<TFirst>, IAsyncEnumerable<TSecond>, IAsyncEnumerable<TThird>) |
Produceert een reeks tuples met elementen uit de drie opgegeven reeksen. |
| Zip<TFirst,TSecond>(IAsyncEnumerable<TFirst>, IAsyncEnumerable<TSecond>) |
Produceert een reeks tuples met elementen uit de twee opgegeven reeksen. |
Zip<TFirst,TSecond,TResult>(IAsyncEnumerable<TFirst>, IAsyncEnumerable<TSecond>, Func<TFirst,TSecond,CancellationToken,ValueTask<TResult>>)
- Bron:
- Zip.cs
- Bron:
- Zip.cs
- Bron:
- Zip.cs
Hiermee past u een opgegeven functie toe op de bijbehorende elementen van twee reeksen, waardoor een reeks resultaten wordt geproduceerd.
public:
generic <typename TFirst, typename TSecond, typename TResult>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IAsyncEnumerable<TResult> ^ Zip(System::Collections::Generic::IAsyncEnumerable<TFirst> ^ first, System::Collections::Generic::IAsyncEnumerable<TSecond> ^ second, Func<TFirst, TSecond, System::Threading::CancellationToken, System::Threading::Tasks::ValueTask<TResult>> ^ resultSelector);
public static System.Collections.Generic.IAsyncEnumerable<TResult> Zip<TFirst,TSecond,TResult>(this System.Collections.Generic.IAsyncEnumerable<TFirst> first, System.Collections.Generic.IAsyncEnumerable<TSecond> second, Func<TFirst,TSecond,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<TResult>> resultSelector);
static member Zip : System.Collections.Generic.IAsyncEnumerable<'First> * System.Collections.Generic.IAsyncEnumerable<'Second> * Func<'First, 'Second, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<'Result>> -> System.Collections.Generic.IAsyncEnumerable<'Result>
<Extension()>
Public Function Zip(Of TFirst, TSecond, TResult) (first As IAsyncEnumerable(Of TFirst), second As IAsyncEnumerable(Of TSecond), resultSelector As Func(Of TFirst, TSecond, CancellationToken, ValueTask(Of TResult))) As IAsyncEnumerable(Of TResult)
Type parameters
- TFirst
Het type van de elementen van de eerste invoerreeks.
- TSecond
Het type van de elementen van de tweede invoerreeks.
- TResult
Het type van de elementen van de resultatenreeks.
Parameters
- first
- IAsyncEnumerable<TFirst>
De eerste reeks die moet worden samengevoegd.
- second
- IAsyncEnumerable<TSecond>
De tweede reeks die moet worden samengevoegd.
- resultSelector
- Func<TFirst,TSecond,CancellationToken,ValueTask<TResult>>
Een functie die aangeeft hoe de elementen uit de twee reeksen moeten worden samengevoegd.
Retouren
Een IAsyncEnumerable<T> met samengevoegde elementen van twee invoerreeksen.
Uitzonderingen
resultSelector is null.
Van toepassing op
Zip<TFirst,TSecond,TResult>(IAsyncEnumerable<TFirst>, IAsyncEnumerable<TSecond>, Func<TFirst,TSecond,TResult>)
- Bron:
- Zip.cs
- Bron:
- Zip.cs
- Bron:
- Zip.cs
Hiermee past u een opgegeven functie toe op de bijbehorende elementen van twee reeksen, waardoor een reeks resultaten wordt geproduceerd.
public:
generic <typename TFirst, typename TSecond, typename TResult>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IAsyncEnumerable<TResult> ^ Zip(System::Collections::Generic::IAsyncEnumerable<TFirst> ^ first, System::Collections::Generic::IAsyncEnumerable<TSecond> ^ second, Func<TFirst, TSecond, TResult> ^ resultSelector);
public static System.Collections.Generic.IAsyncEnumerable<TResult> Zip<TFirst,TSecond,TResult>(this System.Collections.Generic.IAsyncEnumerable<TFirst> first, System.Collections.Generic.IAsyncEnumerable<TSecond> second, Func<TFirst,TSecond,TResult> resultSelector);
static member Zip : System.Collections.Generic.IAsyncEnumerable<'First> * System.Collections.Generic.IAsyncEnumerable<'Second> * Func<'First, 'Second, 'Result> -> System.Collections.Generic.IAsyncEnumerable<'Result>
<Extension()>
Public Function Zip(Of TFirst, TSecond, TResult) (first As IAsyncEnumerable(Of TFirst), second As IAsyncEnumerable(Of TSecond), resultSelector As Func(Of TFirst, TSecond, TResult)) As IAsyncEnumerable(Of TResult)
Type parameters
- TFirst
Het type van de elementen van de eerste invoerreeks.
- TSecond
Het type van de elementen van de tweede invoerreeks.
- TResult
Het type van de elementen van de resultatenreeks.
Parameters
- first
- IAsyncEnumerable<TFirst>
De eerste reeks die moet worden samengevoegd.
- second
- IAsyncEnumerable<TSecond>
De tweede reeks die moet worden samengevoegd.
- resultSelector
- Func<TFirst,TSecond,TResult>
Een functie die aangeeft hoe de elementen uit de twee reeksen moeten worden samengevoegd.
Retouren
Een IAsyncEnumerable<T> met samengevoegde elementen van twee invoerreeksen.
Uitzonderingen
resultSelector is null.
Van toepassing op
Zip<TFirst,TSecond,TThird>(IAsyncEnumerable<TFirst>, IAsyncEnumerable<TSecond>, IAsyncEnumerable<TThird>)
- Bron:
- Zip.cs
- Bron:
- Zip.cs
- Bron:
- Zip.cs
Produceert een reeks tuples met elementen uit de drie opgegeven reeksen.
public:
generic <typename TFirst, typename TSecond, typename TThird>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IAsyncEnumerable<ValueTuple<TFirst, TSecond, TThird>> ^ Zip(System::Collections::Generic::IAsyncEnumerable<TFirst> ^ first, System::Collections::Generic::IAsyncEnumerable<TSecond> ^ second, System::Collections::Generic::IAsyncEnumerable<TThird> ^ third);
public static System.Collections.Generic.IAsyncEnumerable<(TFirst First, TSecond Second, TThird Third)> Zip<TFirst,TSecond,TThird>(this System.Collections.Generic.IAsyncEnumerable<TFirst> first, System.Collections.Generic.IAsyncEnumerable<TSecond> second, System.Collections.Generic.IAsyncEnumerable<TThird> third);
static member Zip : System.Collections.Generic.IAsyncEnumerable<'First> * System.Collections.Generic.IAsyncEnumerable<'Second> * System.Collections.Generic.IAsyncEnumerable<'hird> -> System.Collections.Generic.IAsyncEnumerable<ValueTuple<'First, 'Second, 'hird>>
<Extension()>
Public Function Zip(Of TFirst, TSecond, TThird) (first As IAsyncEnumerable(Of TFirst), second As IAsyncEnumerable(Of TSecond), third As IAsyncEnumerable(Of TThird)) As IAsyncEnumerable(Of ValueTuple(Of TFirst, TSecond, TThird))
Type parameters
- TFirst
Het type van de elementen van de eerste invoerreeks.
- TSecond
Het type van de elementen van de tweede invoerreeks.
- TThird
Het type van de elementen van de derde invoerreeks.
Parameters
- first
- IAsyncEnumerable<TFirst>
De eerste reeks die moet worden samengevoegd.
- second
- IAsyncEnumerable<TSecond>
De tweede reeks die moet worden samengevoegd.
- third
- IAsyncEnumerable<TThird>
De derde volgorde die moet worden samengevoegd.
Retouren
Een reeks tuples met elementen uit de eerste, tweede en derde volgorde, in die volgorde.
Uitzonderingen
third is null.
Van toepassing op
Zip<TFirst,TSecond>(IAsyncEnumerable<TFirst>, IAsyncEnumerable<TSecond>)
- Bron:
- Zip.cs
- Bron:
- Zip.cs
- Bron:
- Zip.cs
Produceert een reeks tuples met elementen uit de twee opgegeven reeksen.
public:
generic <typename TFirst, typename TSecond>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IAsyncEnumerable<ValueTuple<TFirst, TSecond>> ^ Zip(System::Collections::Generic::IAsyncEnumerable<TFirst> ^ first, System::Collections::Generic::IAsyncEnumerable<TSecond> ^ second);
public static System.Collections.Generic.IAsyncEnumerable<(TFirst First, TSecond Second)> Zip<TFirst,TSecond>(this System.Collections.Generic.IAsyncEnumerable<TFirst> first, System.Collections.Generic.IAsyncEnumerable<TSecond> second);
static member Zip : System.Collections.Generic.IAsyncEnumerable<'First> * System.Collections.Generic.IAsyncEnumerable<'Second> -> System.Collections.Generic.IAsyncEnumerable<ValueTuple<'First, 'Second>>
<Extension()>
Public Function Zip(Of TFirst, TSecond) (first As IAsyncEnumerable(Of TFirst), second As IAsyncEnumerable(Of TSecond)) As IAsyncEnumerable(Of ValueTuple(Of TFirst, TSecond))
Type parameters
- TFirst
Het type van de elementen van de eerste invoerreeks.
- TSecond
Het type van de elementen van de tweede invoerreeks.
Parameters
- first
- IAsyncEnumerable<TFirst>
De eerste reeks die moet worden samengevoegd.
- second
- IAsyncEnumerable<TSecond>
De tweede reeks die moet worden samengevoegd.
Retouren
Een reeks tuples met elementen uit de eerste en tweede reeksen, in die volgorde.
Uitzonderingen
second is null.