Export (0) Print
Expand All

Observer Class

March 22, 2012

Provides a set of static methods for creating observers.

System.Object
  Microsoft.Phone.Reactive.Observer

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

public static class Observer

The Observer type exposes the following members.

  NameDescription
Public methodStatic memberAsObserver<TSource>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 memberToNotifier<T>Creates a notification callback from an observer.
Public methodStatic memberToObserver<T>Creates an observer from a notification callback.
Top

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

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