관찰 가능한 시퀀스의 각 요소를 관찰 가능한 시퀀스에 투영하고 결과 관찰 가능한 시퀀스를 하나의 관찰 가능한 시퀀스로 평면화합니다.
네임스페이스:System.Reactive.Linq
어셈블리: System.Reactive(System.Reactive.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function SelectMany(Of TSource, TOther) ( _
source As IObservable(Of TSource), _
other As IObservable(Of TOther) _
) As IObservable(Of TOther)
'Usage
Dim source As IObservable(Of TSource)
Dim other As IObservable(Of TOther)
Dim returnValue As IObservable(Of TOther)
returnValue = source.SelectMany(other)
public static IObservable<TOther> SelectMany<TSource, TOther>(
this IObservable<TSource> source,
IObservable<TOther> other
)
[ExtensionAttribute]
public:
generic<typename TSource, typename TOther>
static IObservable<TOther>^ SelectMany(
IObservable<TSource>^ source,
IObservable<TOther>^ other
)
static member SelectMany :
source:IObservable<'TSource> *
other:IObservable<'TOther> -> IObservable<'TOther>
JScript does not support generic types and methods.
형식 매개 변수
- TSource
원본의 형식입니다.
- TOther
다른 형식입니다.
매개 변수
- source
형식: System.IObservable<TSource>
프로젝트할 요소의 관찰 가능한 시퀀스입니다.
- other
형식: System.IObservable<TOther>
원본 시퀀스에서 각 요소를 프로젝스하는 관찰 가능한 시퀀스입니다.
반환 값
형식: System.IObservable<TOther>
요소가 각 원본 요소를 다른 시퀀스에 프로젝팅하고 결과 시퀀스를 모두 병합한 결과인 관찰 가능한 시퀀스입니다.
사용 정보
Visual Basic 및 C#에서는 IObservable TSource> 형식의 모든 개체에서 이 메서드를 instance 메서드로 호출할 수 있습니다<. 인스턴스 메서드 구문을 사용하여 이 메서드를 호출할 경우에는 첫 번째 매개 변수를 생략합니다. 자세한 내용은 또는 를 참조하세요.