SuperLinq SuperLinq
SuperLinq SuperLinq
DocFX + Singulink = ♥

Search Results for

    Method Where

    Where<TSource>(IAsyncEnumerable<TSource>, IAsyncEnumerable<bool>)

    Filters a sequence of values based on an enumeration of boolean values

    Declaration
    public static IAsyncEnumerable<TSource> Where<TSource>(this IAsyncEnumerable<TSource> source, IAsyncEnumerable<bool> filter)
    Parameters
    Type Name Description
    IAsyncEnumerable<TSource> source

    An IAsyncEnumerable<T> to filter.

    IAsyncEnumerable<bool> filter

    An IAsyncEnumerable<T> of boolean values identifying which elements of source to keep.

    Returns
    Type Description
    IAsyncEnumerable<TSource>

    An IAsyncEnumerable<T> that contains elements from the input sequence where the matching value in filter is true.

    Type Parameters
    Name Description
    TSource

    The type of the elements of source.

    Exceptions
    Type Condition
    ArgumentNullException

    source is null.

    ArgumentNullException

    filter is null.

    © SuperLinq Authors. All rights reserved.