Observable.When < TResult 方法 (Plan < TResult >> [])
將來自數個模式的結果聯結在一起。
Namespace:System.Reactive.Linq
裝配: System.Reactive.dll) 中的 System.Reactive (
Syntax
'Declaration
Public Shared Function When(Of TResult) ( _
ParamArray plans As Plan(Of TResult)() _
) As IObservable(Of TResult)
'Usage
Dim plans As Plan(Of TResult)()
Dim returnValue As IObservable(Of TResult)
returnValue = Observable.When(plans)
public static IObservable<TResult> When<TResult>(
params Plan<TResult>[] plans
)
public:
generic<typename TResult>
static IObservable<TResult>^ When(
... array<Plan<TResult>^>^ plans
)
static member When :
plans:Plan<'TResult>[] -> IObservable<'TResult>
JScript does not support generic types and methods.
類型參數
- TResult
結果的類型。
參數
- plans
類型:System.Reactive.Joins.Plan< TResult > []
聯結模式。
傳回值
類型:System.IObservable< TResult>
數種模式的結果。