Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class Observer
'Usage

The Observer type exposes the following members.

  NameDescription
Public methodStatic memberAsObserver(Of T) Hides the identity of an observer.
Public methodStatic memberCreate(Of T)(Action(Of T)) Creates an observer from the specified OnNext action.
Public methodStatic memberCreate(Of T)(Action(Of T), Action) Creates an observer from the specified OnNext and OnCompleted actions.
Public methodStatic memberCreate(Of T)(Action(Of T), Action(Of Exception)) Creates an observer from the specified OnNext and OnError actions.
Public methodStatic memberCreate(Of T)(Action(Of T), Action(Of Exception), Action) Creates an observer from the specified OnNext, OnError, and OnCompleted actions.
Public methodStatic memberSynchronize(Of T)(IObserver(Of T))
Public methodStatic memberSynchronize(Of T)(IObserver(Of T), Object)
Public methodStatic memberToNotifier(Of T) Creates a notification callback from an observer.
Public methodStatic memberToObserver(Of 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. All rights reserved.