Observer

Observer Class

Provides a set of static methods for creating observers.

Inheritance Hierarchy

System.Object
  System.Reactive.Observer

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class Observer
'Usage
public static class Observer
[ExtensionAttribute]
public ref class Observer abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Observer =  class end
public final class Observer

The Observer type exposes the following members.

Methods

NameDescriptionPublic methodStatic memberAsObserverHides the identity of an observer.Public methodStatic memberCreate(Action)Creates an observer from the specified OnNext action.Public methodStatic memberCreate(Action, Action)Creates an observer from the specified OnNext and OnCompleted actions.Public methodStatic memberCreate(Action, Action)Creates an observer from the specified OnNext and OnError actions.Public methodStatic memberCreate(Action, Action, Action)Creates an observer from the specified OnNext, OnError, and OnCompleted actions.Public methodStatic memberSynchronize(IObserver)Public methodStatic memberSynchronize(IObserver, Object)Public methodStatic memberToNotifierCreates a notification callback from an observer.Public methodStatic memberToObserverCreates an observer from a notification callback.Top

Thread Safety

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

See Also

Reference

System.Reactive Namespace

Observer Methods

Include Protected Members
Include Inherited Members

The Observer type exposes the following members.

Methods

NameDescriptionPublic methodStatic memberAsObserverHides the identity of an observer.Public methodStatic memberCreate(Action)Creates an observer from the specified OnNext action.Public methodStatic memberCreate(Action, Action)Creates an observer from the specified OnNext and OnCompleted actions.Public methodStatic memberCreate(Action, Action)Creates an observer from the specified OnNext and OnError actions.Public methodStatic memberCreate(Action, Action, Action)Creates an observer from the specified OnNext, OnError, and OnCompleted actions.Public methodStatic memberSynchronize(IObserver)Public methodStatic memberSynchronize(IObserver, Object)Public methodStatic memberToNotifierCreates a notification callback from an observer.Public methodStatic memberToObserverCreates an observer from a notification callback.Top

See Also

Reference

Observer Class

System.Reactive Namespace