AsyncEnumerable.ToAsyncEnumerable<TSource> 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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<T> 의 요소 시퀀스를 포함하는 형식source입니다.
예외
source은 null입니다.
설명
이미 구현된 IAsyncEnumerable<T>경우 source 직접 반환됩니다. 그렇지 않으면 결과를 IAsyncEnumerable<T> 통한 각 반복이 .를 source반복합니다.