Table of Contents

Class Recorded

Namespace
RxSharp.Testing
Assembly
RxSharp.dll

Factory helpers for Recorded<T>. A non-generic sibling avoids CA1000 (static members on generic types).

public static class Recorded
Inheritance
System.Object
Recorded

Methods

OnCompleted<T>(TimeSpan)

Creates a recorded OnCompleted notification at the given virtual time.

public static Recorded<T> OnCompleted<T>(TimeSpan time)

Parameters

time TimeSpan

The virtual-clock time completion occurred at.

Returns

Recorded<T>

The recorded notification.

Type Parameters

T

The element type of the observable that completed.

OnError<T>(TimeSpan, Exception)

Creates a recorded OnError notification at the given virtual time.

public static Recorded<T> OnError<T>(TimeSpan time, Exception error)

Parameters

time TimeSpan

The virtual-clock time the error occurred at.

error Exception

The error.

Returns

Recorded<T>

The recorded notification.

Type Parameters

T

The element type of the observable the error was recorded on.

OnNext<T>(TimeSpan, T)

Creates a recorded OnNext notification at the given virtual time.

public static Recorded<T> OnNext<T>(TimeSpan time, T value)

Parameters

time TimeSpan

The virtual-clock time the value was emitted at.

value T

The emitted value.

Returns

Recorded<T>

The recorded notification.

Type Parameters

T

The type of the emitted value.