Table of Contents

Class Notification

Namespace
RxSharp
Assembly
RxSharp.dll

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

public static class Notification
Inheritance
System.Object
Notification

Methods

CreateCompleted<T>()

Creates a Completed notification.

public static Notification<T> CreateCompleted<T>()

Returns

Notification<T>

The notification.

Type Parameters

T

The element type of the observable that completed.

CreateError<T>(Exception)

Creates a Error notification carrying error.

public static Notification<T> CreateError<T>(Exception error)

Parameters

error Exception

The error.

Returns

Notification<T>

The notification.

Type Parameters

T

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

CreateNext<T>(T)

Creates a Next notification carrying value.

public static Notification<T> CreateNext<T>(T value)

Parameters

value T

The emitted value.

Returns

Notification<T>

The notification.

Type Parameters

T

The type of the emitted value.