Class Recorded
Factory helpers for Recorded<T>. A non-generic sibling avoids CA1000 (static members on generic types).
public static class Recorded
- Inheritance
-
System.ObjectRecorded
Methods
OnCompleted<T>(TimeSpan)
Creates a recorded OnCompleted notification at the given virtual time.
public static Recorded<T> OnCompleted<T>(TimeSpan time)
Parameters
timeTimeSpanThe virtual-clock time completion occurred at.
Returns
- Recorded<T>
The recorded notification.
Type Parameters
TThe 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
timeTimeSpanThe virtual-clock time the error occurred at.
errorExceptionThe error.
Returns
- Recorded<T>
The recorded notification.
Type Parameters
TThe 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
timeTimeSpanThe virtual-clock time the value was emitted at.
valueTThe emitted value.
Returns
- Recorded<T>
The recorded notification.
Type Parameters
TThe type of the emitted value.