Qbservable

Qbservable.TimeInterval<TSource> Method (IQbservable<TSource>, IScheduler)

Records the time interval between consecutive values in a queryable observable sequence with the specified source and scheduler.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function TimeInterval(Of TSource) ( _
    source As IQbservable(Of TSource), _
    scheduler As IScheduler _
) As IQbservable(Of TimeInterval(Of TSource))
'Usage
Dim source As IQbservable(Of TSource)
Dim scheduler As IScheduler
Dim returnValue As IQbservable(Of TimeInterval(Of TSource))

returnValue = source.TimeInterval(scheduler)
public static IQbservable<TimeInterval<TSource>> TimeInterval<TSource>(
    this IQbservable<TSource> source,
    IScheduler scheduler
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<TimeInterval<TSource>>^ TimeInterval(
    IQbservable<TSource>^ source, 
    IScheduler^ scheduler
)
static member TimeInterval : 
        source:IQbservable<'TSource> * 
        scheduler:IScheduler -> IQbservable<TimeInterval<'TSource>> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type of source.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TimeInterval<TSource>>
A queryable observable sequence with time interval information on values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

TimeInterval Overload

System.Reactive.Linq Namespace

Qbservable.TimeInterval<TSource> Method (IQbservable<TSource>)

Records the time interval between consecutive values in a queryable observable sequence with the specified source.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function TimeInterval(Of TSource) ( _
    source As IQbservable(Of TSource) _
) As IQbservable(Of TimeInterval(Of TSource))
'Usage
Dim source As IQbservable(Of TSource)
Dim returnValue As IQbservable(Of TimeInterval(Of TSource))

returnValue = source.TimeInterval()
public static IQbservable<TimeInterval<TSource>> TimeInterval<TSource>(
    this IQbservable<TSource> source
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<TimeInterval<TSource>>^ TimeInterval(
    IQbservable<TSource>^ source
)
static member TimeInterval : 
        source:IQbservable<'TSource> -> IQbservable<TimeInterval<'TSource>> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type of source.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TimeInterval<TSource>>
A queryable observable sequence with time interval information on values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

TimeInterval Overload

System.Reactive.Linq Namespace