仅在另一个可查询可观测序列生成值之后,才从源可查询可观测序列返回值。
Namespace:System.Reactive.Linq
装配: System.Reactive.Providers.dll) 中的 System.Reactive.Providers (
语法
'Declaration
<ExtensionAttribute> _
Public Shared Function SkipUntil(Of TSource, TOther) ( _
source As IQbservable(Of TSource), _
other As IObservable(Of TOther) _
) As IQbservable(Of TSource)
'Usage
Dim source As IQbservable(Of TSource)
Dim other As IObservable(Of TOther)
Dim returnValue As IQbservable(Of TSource)
returnValue = source.SkipUntil(other)
public static IQbservable<TSource> SkipUntil<TSource, TOther>(
this IQbservable<TSource> source,
IObservable<TOther> other
)
[ExtensionAttribute]
public:
generic<typename TSource, typename TOther>
static IQbservable<TSource>^ SkipUntil(
IQbservable<TSource>^ source,
IObservable<TOther>^ other
)
static member SkipUntil :
source:IQbservable<'TSource> *
other:IObservable<'TOther> -> IQbservable<'TSource>
JScript does not support generic types and methods.
类型参数
- TSource
源的类型。
- TOther
另一种类型。
参数
- source
类型: System.Reactive.Linq.IQbservable<TSource>
要为其传播元素的源序列。
- 其他
类型: System.IObservable<TOther>
触发源序列元素传播的可查询可观察序列。
返回值
类型: System.Reactive.Linq.IQbservable<TSource>
一个可查询可观测序列,其中包含源序列的元素,从另一个序列触发传播的点开始。
使用说明
在 Visual Basic 和 C# 中,可以将此方法作为 IQbservable<TSource> 类型的任何对象的实例方法调用。 当使用实例方法语法调用此方法时,请省略第一个参数。 有关详细信息,请参阅或。