Share via


ObservableExtensions Class

Provides a set of static methods for subscribing delegates to observables.

Inheritance Hierarchy

System.Object
  System.ObservableExtensions

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

Syntax

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

Methods

  Name Description
Public methodStatic member Subscribe<TSource>(IObservable<TSource>) Evaluates the observable sequence with a specified source.
Public methodStatic member Subscribe<TSource>(IObservable<TSource>, Action<TSource>) Subscribes an element handler to an observable sequence.
Public methodStatic member Subscribe<TSource>(IObservable<TSource>, Action<TSource>, Action) Subscribes an element handler and a completion handler to an observable sequence.
Public methodStatic member Subscribe<TSource>(IObservable<TSource>, Action<TSource>, Action<Exception>) Subscribes an element handler and an exception handler to an observable sequence.
Public methodStatic member Subscribe<TSource>(IObservable<TSource>, Action<TSource>, Action<Exception>, Action) Subscribes an element handler, an exception handler, and a completion handler to an observable sequence.

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 Namespace