다음을 통해 공유


Qbservable.Window<TSource, TWindowClosing> 메서드(IQbservable<TSource>, Expression<Func<IObservable<TWindowClosing>>>)

쿼리 가능한 관찰 가능한 시퀀스의 각 요소를 연속된 겹치지 않는 창으로 투영합니다.

네임스페이스:System.Reactive.Linq
어셈블리: System.Reactive.Providers(System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Window(Of TSource, TWindowClosing) ( _
    source As IQbservable(Of TSource), _
    windowClosingSelector As Expression(Of Func(Of IObservable(Of TWindowClosing))) _
) As IQbservable(Of IObservable(Of TSource))
'Usage
Dim source As IQbservable(Of TSource)
Dim windowClosingSelector As Expression(Of Func(Of IObservable(Of TWindowClosing)))
Dim returnValue As IQbservable(Of IObservable(Of TSource))

returnValue = source.Window(windowClosingSelector)
public static IQbservable<IObservable<TSource>> Window<TSource, TWindowClosing>(
    this IQbservable<TSource> source,
    Expression<Func<IObservable<TWindowClosing>>> windowClosingSelector
)
[ExtensionAttribute]
public:
generic<typename TSource, typename TWindowClosing>
static IQbservable<IObservable<TSource>^>^ Window(
    IQbservable<TSource>^ source, 
    Expression<Func<IObservable<TWindowClosing>^>^>^ windowClosingSelector
)
static member Window : 
        source:IQbservable<'TSource> * 
        windowClosingSelector:Expression<Func<IObservable<'TWindowClosing>>> -> IQbservable<IObservable<'TSource>> 
JScript does not support generic types and methods.

형식 매개 변수

  • TSource
    원본의 형식입니다.
  • TWindowClosing
    닫는 창의 유형입니다.

매개 변수

반환 값

형식: System.Reactive.Linq.IQbservable<IObservable<TSource>>
쿼리 가능한 관찰 가능한 창 시퀀스입니다.

사용 정보

Visual Basic 및 C#에서는 IQbservableTSource> 형식의 모든 개체에서 이 메서드를 instance 메서드로 호출할 수 있습니다<. 인스턴스 메서드 구문을 사용하여 이 메서드를 호출할 경우에는 첫 번째 매개 변수를 생략합니다. 자세한 내용은 또는 를 참조하세요.

참고 항목

참조

Qbservable 클래스

창 오버로드

System.Reactive.Linq 네임스페이스