AsyncEnumerable.Where メソッド

定義

オーバーロード

名前 説明
Where<TSource>(IAsyncEnumerable<TSource>, Func<TSource,Int32,CancellationToken,ValueTask<Boolean>>)

述語に基づいて値のシーケンスをフィルター処理します。 各要素のインデックスは、述語関数のロジックで使用されます。

Where<TSource>(IAsyncEnumerable<TSource>, Func<TSource,CancellationToken,ValueTask<Boolean>>)

述語に基づいて値のシーケンスをフィルター処理します。

Where<TSource>(IAsyncEnumerable<TSource>, Func<TSource,Boolean>)

述語に基づいて値のシーケンスをフィルター処理します。

Where<TSource>(IAsyncEnumerable<TSource>, Func<TSource,Int32,Boolean>)

述語に基づいて値のシーケンスをフィルター処理します。 各要素のインデックスは、述語関数のロジックで使用されます。

Where<TSource>(IAsyncEnumerable<TSource>, Func<TSource,Int32,CancellationToken,ValueTask<Boolean>>)

ソース:
Where.cs
ソース:
Where.cs
ソース:
Where.cs

述語に基づいて値のシーケンスをフィルター処理します。 各要素のインデックスは、述語関数のロジックで使用されます。

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IAsyncEnumerable<TSource> ^ Where(System::Collections::Generic::IAsyncEnumerable<TSource> ^ source, Func<TSource, int, System::Threading::CancellationToken, System::Threading::Tasks::ValueTask<bool>> ^ predicate);
public static System.Collections.Generic.IAsyncEnumerable<TSource> Where<TSource>(this System.Collections.Generic.IAsyncEnumerable<TSource> source, Func<TSource,int,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<bool>> predicate);
static member Where : System.Collections.Generic.IAsyncEnumerable<'Source> * Func<'Source, int, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<bool>> -> System.Collections.Generic.IAsyncEnumerable<'Source>
<Extension()>
Public Function Where(Of TSource) (source As IAsyncEnumerable(Of TSource), predicate As Func(Of TSource, Integer, CancellationToken, ValueTask(Of Boolean))) As IAsyncEnumerable(Of TSource)

型パラメーター

TSource

sourceの要素の型。

パラメーター

source
IAsyncEnumerable<TSource>

フィルター処理する IAsyncEnumerable<T>

predicate
Func<TSource,Int32,CancellationToken,ValueTask<Boolean>>

条件の各要素をテストする関数。関数の 2 番目のパラメーターは、ソース要素のインデックスを表します。

返品

IAsyncEnumerable<TSource>

条件を満たす入力シーケンスの要素を含む IAsyncEnumerable<T>

例外

predicatenullです。

適用対象

Where<TSource>(IAsyncEnumerable<TSource>, Func<TSource,CancellationToken,ValueTask<Boolean>>)

ソース:
Where.cs
ソース:
Where.cs
ソース:
Where.cs

述語に基づいて値のシーケンスをフィルター処理します。

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IAsyncEnumerable<TSource> ^ Where(System::Collections::Generic::IAsyncEnumerable<TSource> ^ source, Func<TSource, System::Threading::CancellationToken, System::Threading::Tasks::ValueTask<bool>> ^ predicate);
public static System.Collections.Generic.IAsyncEnumerable<TSource> Where<TSource>(this System.Collections.Generic.IAsyncEnumerable<TSource> source, Func<TSource,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<bool>> predicate);
static member Where : System.Collections.Generic.IAsyncEnumerable<'Source> * Func<'Source, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<bool>> -> System.Collections.Generic.IAsyncEnumerable<'Source>
<Extension()>
Public Function Where(Of TSource) (source As IAsyncEnumerable(Of TSource), predicate As Func(Of TSource, CancellationToken, ValueTask(Of Boolean))) As IAsyncEnumerable(Of TSource)

型パラメーター

TSource

sourceの要素の型。

パラメーター

source
IAsyncEnumerable<TSource>

フィルター処理する IAsyncEnumerable<T>

predicate
Func<TSource,CancellationToken,ValueTask<Boolean>>

条件の各要素をテストする関数。

返品

IAsyncEnumerable<TSource>

条件を満たす入力シーケンスの要素を含む IAsyncEnumerable<T>

例外

predicatenullです。

適用対象

Where<TSource>(IAsyncEnumerable<TSource>, Func<TSource,Boolean>)

ソース:
Where.cs
ソース:
Where.cs
ソース:
Where.cs

述語に基づいて値のシーケンスをフィルター処理します。

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IAsyncEnumerable<TSource> ^ Where(System::Collections::Generic::IAsyncEnumerable<TSource> ^ source, Func<TSource, bool> ^ predicate);
public static System.Collections.Generic.IAsyncEnumerable<TSource> Where<TSource>(this System.Collections.Generic.IAsyncEnumerable<TSource> source, Func<TSource,bool> predicate);
static member Where : System.Collections.Generic.IAsyncEnumerable<'Source> * Func<'Source, bool> -> System.Collections.Generic.IAsyncEnumerable<'Source>
<Extension()>
Public Function Where(Of TSource) (source As IAsyncEnumerable(Of TSource), predicate As Func(Of TSource, Boolean)) As IAsyncEnumerable(Of TSource)

型パラメーター

TSource

sourceの要素の型。

パラメーター

source
IAsyncEnumerable<TSource>

フィルター処理する IAsyncEnumerable<T>

predicate
Func<TSource,Boolean>

条件の各要素をテストする関数。

返品

IAsyncEnumerable<TSource>

条件を満たす入力シーケンスの要素を含む IAsyncEnumerable<T>

例外

predicatenullです。

適用対象

Where<TSource>(IAsyncEnumerable<TSource>, Func<TSource,Int32,Boolean>)

ソース:
Where.cs
ソース:
Where.cs
ソース:
Where.cs

述語に基づいて値のシーケンスをフィルター処理します。 各要素のインデックスは、述語関数のロジックで使用されます。

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IAsyncEnumerable<TSource> ^ Where(System::Collections::Generic::IAsyncEnumerable<TSource> ^ source, Func<TSource, int, bool> ^ predicate);
public static System.Collections.Generic.IAsyncEnumerable<TSource> Where<TSource>(this System.Collections.Generic.IAsyncEnumerable<TSource> source, Func<TSource,int,bool> predicate);
static member Where : System.Collections.Generic.IAsyncEnumerable<'Source> * Func<'Source, int, bool> -> System.Collections.Generic.IAsyncEnumerable<'Source>
<Extension()>
Public Function Where(Of TSource) (source As IAsyncEnumerable(Of TSource), predicate As Func(Of TSource, Integer, Boolean)) As IAsyncEnumerable(Of TSource)

型パラメーター

TSource

sourceの要素の型。

パラメーター

source
IAsyncEnumerable<TSource>

フィルター処理する IAsyncEnumerable<T>

predicate
Func<TSource,Int32,Boolean>

条件の各要素をテストする関数。関数の 2 番目のパラメーターは、ソース要素のインデックスを表します。

返品

IAsyncEnumerable<TSource>

条件を満たす入力シーケンスの要素を含む IAsyncEnumerable<T>

例外

predicatenullです。

適用対象