Export (0) Print
Expand All

Observer Class

Provides a set of static methods for creating observers.

System.Object
  System.Reactive.Observer

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

public static class Observer

The Observer type exposes the following members.

  NameDescription
Public methodStatic memberAsObserver<T> Hides the identity of an observer.
Public methodStatic memberCreate<T>(Action<T>) Creates an observer from the specified OnNext action.
Public methodStatic memberCreate<T>(Action<T>, Action) Creates an observer from the specified OnNext and OnCompleted actions.
Public methodStatic memberCreate<T>(Action<T>, Action<Exception>) Creates an observer from the specified OnNext and OnError actions.
Public methodStatic memberCreate<T>(Action<T>, Action<Exception>, Action) Creates an observer from the specified OnNext, OnError, and OnCompleted actions.
Public methodStatic memberSynchronize<T>(IObserver<T>)
Public methodStatic memberSynchronize<T>(IObserver<T>, Object)
Public methodStatic memberToNotifier<T> Creates a notification callback from an observer.
Public methodStatic memberToObserver<T> Creates an observer from a notification callback.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft