Bagikan melalui


Observable.Dematerialize<TSource> Method

Dematerializes the explicit notification values of an observable sequence as implicit notifications.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Dematerialize(Of TSource) ( _
    source As IObservable(Of Notification(Of TSource)) _
) As IObservable(Of TSource)
'Usage
Dim source As IObservable(Of Notification(Of TSource))
Dim returnValue As IObservable(Of TSource)

returnValue = source.Dematerialize()
public static IObservable<TSource> Dematerialize<TSource>(
    this IObservable<Notification<TSource>> source
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IObservable<TSource>^ Dematerialize(
    IObservable<Notification<TSource>^>^ source
)
static member Dematerialize : 
        source:IObservable<Notification<'TSource>> -> IObservable<'TSource> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type of source.

Parameters

  • source
    Type: System.IObservable<Notification<TSource>>
    An observable sequence containing explicit notification values which have to be turned into implicit notifications.

Return Value

Type: System.IObservable<TSource>
An observable sequence exhibiting the behavior corresponding to the source sequence's notification values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Notification<TSource>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

System.Reactive.Linq Namespace