AsyncEnumerable.ToAsyncEnumerable<TSource> 메서드

정의

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IAsyncEnumerable<TSource> ^ ToAsyncEnumerable(System::Collections::Generic::IEnumerable<TSource> ^ source);
public static System.Collections.Generic.IAsyncEnumerable<TSource> ToAsyncEnumerable<TSource>(this System.Collections.Generic.IEnumerable<TSource> source);
static member ToAsyncEnumerable : seq<'Source> -> System.Collections.Generic.IAsyncEnumerable<'Source>
<Extension()>
Public Function ToAsyncEnumerable(Of TSource) (source As IEnumerable(Of TSource)) As IAsyncEnumerable(Of TSource)

형식 매개 변수

TSource

원본 요소의 형식입니다.

매개 변수

source
IEnumerable<TSource>

IEnumerable<T> 열거할 요소 중입니다.

반품

IAsyncEnumerable<TSource>

IAsyncEnumerable<T> 의 요소 시퀀스를 포함하는 형식source입니다.

예외

sourcenull입니다.

설명

이미 구현된 IAsyncEnumerable<T>경우 source 직접 반환됩니다. 그렇지 않으면 결과를 IAsyncEnumerable<T> 통한 각 반복이 .를 source반복합니다.

적용 대상