AsyncEnumerable.Except<TSource> 메서드

정의

두 시퀀스의 집합 차이를 생성합니다.

public static System.Collections.Generic.IAsyncEnumerable<TSource> Except<TSource>(this System.Collections.Generic.IAsyncEnumerable<TSource> first, System.Collections.Generic.IAsyncEnumerable<TSource> second, System.Collections.Generic.IEqualityComparer<TSource>? comparer = default);
static member Except : System.Collections.Generic.IAsyncEnumerable<'Source> * System.Collections.Generic.IAsyncEnumerable<'Source> * System.Collections.Generic.IEqualityComparer<'Source> -> System.Collections.Generic.IAsyncEnumerable<'Source>
<Extension()>
Public Function Except(Of TSource) (first As IAsyncEnumerable(Of TSource), second As IAsyncEnumerable(Of TSource), Optional comparer As IEqualityComparer(Of TSource) = Nothing) As IAsyncEnumerable(Of TSource)

형식 매개 변수

TSource

입력 시퀀스의 요소 형식입니다.

매개 변수

first
IAsyncEnumerable<TSource>

IAsyncEnumerable<T> 두 번째 요소에도 없는 요소가 반환됩니다.

second
IAsyncEnumerable<TSource>

IAsyncEnumerable<T> 첫 번째 시퀀스에서 발생하는 요소로 인해 반환된 시퀀스에서 해당 요소가 제거됩니다.

comparer
IEqualityComparer<TSource>

IEqualityComparer<T> 값을 비교할 수 있는 값입니다.

반품

IAsyncEnumerable<TSource>

두 시퀀스의 요소 집합 차이를 포함하는 시퀀스입니다.

예외

secondnull입니다.

적용 대상