Share via


TestScheduler.CreateColdObservable<T> Method

Creates a cold observable.

Namespace:  Microsoft.Reactive.Testing
Assembly:  Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

Syntax

'Declaration
Public Function CreateColdObservable(Of T) ( _
    ParamArray messages As Recorded(Of Notification(Of T))() _
) As ITestableObservable(Of T)
'Usage
Dim instance As TestScheduler
Dim messages As Recorded(Of Notification(Of T))()
Dim returnValue As ITestableObservable(Of T)

returnValue = instance.CreateColdObservable(messages)
public ITestableObservable<T> CreateColdObservable<T>(
    params Recorded<Notification<T>>[] messages
)
public:
generic<typename T>
ITestableObservable<T>^ CreateColdObservable(
    ... array<Recorded<Notification<T>^>>^ messages
)
member CreateColdObservable : 
        messages:Recorded<Notification<'T>>[] -> ITestableObservable<'T> 
JScript does not support generic types and methods.

Type Parameters

  • T

Parameters

Return Value

Type: Microsoft.Reactive.Testing.ITestableObservable<T>
Cold observable exhibiting the specified message behavior.

See Also

Reference

TestScheduler Class

Microsoft.Reactive.Testing Namespace