Notification<T>.ToObservable Method
Returns an observable sequence with a single notification, using the immediate scheduler.
Namespace: System.Reactive
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Function ToObservable As IObservable(Of T)
'Usage
Dim instance As Notification
Dim returnValue As IObservable(Of T)
returnValue = instance.ToObservable()
public IObservable<T> ToObservable()
public:
IObservable<T>^ ToObservable()
member ToObservable : unit -> IObservable<'T>
public function ToObservable() : IObservable<T>
Return Value
Type: System.IObservable<T>
The observable sequence that surfaces the behavior of the notification upon subscription.
See Also
Reference
Notification<T>.ToObservable Method (IScheduler)
Returns an observable sequence with a single notification.
Namespace: System.Reactive
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Function ToObservable ( _
scheduler As IScheduler _
) As IObservable(Of T)
'Usage
Dim instance As Notification
Dim scheduler As IScheduler
Dim returnValue As IObservable(Of T)
returnValue = instance.ToObservable(scheduler)
public IObservable<T> ToObservable(
IScheduler scheduler
)
public:
IObservable<T>^ ToObservable(
IScheduler^ scheduler
)
member ToObservable :
scheduler:IScheduler -> IObservable<'T>
public function ToObservable(
scheduler : IScheduler
) : IObservable<T>
Parameters
- scheduler
Type: System.Reactive.Concurrency.IScheduler
The scheduler to send out the notification calls on.
Return Value
Type: System.IObservable<T>
The observable sequence that surfaces the behavior of the notification upon subscription.
See Also
Reference
Notification<T>.ToObservable Method
Include Protected Members
Include Inherited Members
Returns an observable sequence with a single notification.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
NameDescriptionToObservable()Returns an observable sequence with a single notification, using the immediate scheduler.
ToObservable(IScheduler)Returns an observable sequence with a single notification.Top