Observer

Observer.Synchronize<T> Method (IObserver<T>, Object)

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

Syntax

'Declaration
Public Shared Function Synchronize(Of T) ( _
    observer As IObserver(Of T), _
    gate As Object _
) As IObserver(Of T)
'Usage
Dim observer As IObserver(Of T)
Dim gate As Object
Dim returnValue As IObserver(Of T)

returnValue = Observer.Synchronize(observer, _
    gate)
public static IObserver<T> Synchronize<T>(
    IObserver<T> observer,
    Object gate
)
public:
generic<typename T>
static IObserver<T>^ Synchronize(
    IObserver<T>^ observer, 
    Object^ gate
)
static member Synchronize : 
        observer:IObserver<'T> * 
        gate:Object -> IObserver<'T> 
JScript does not support generic types and methods.

Type Parameters

  • T

Parameters

Return Value

Type: System.IObserver<T>

See Also

Reference

Observer Class

Synchronize Overload

System.Reactive Namespace

Observer.Synchronize<T> Method (IObserver<T>)

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

Syntax

'Declaration
Public Shared Function Synchronize(Of T) ( _
    observer As IObserver(Of T) _
) As IObserver(Of T)
'Usage
Dim observer As IObserver(Of T)
Dim returnValue As IObserver(Of T)

returnValue = Observer.Synchronize(observer)
public static IObserver<T> Synchronize<T>(
    IObserver<T> observer
)
public:
generic<typename T>
static IObserver<T>^ Synchronize(
    IObserver<T>^ observer
)
static member Synchronize : 
        observer:IObserver<'T> -> IObserver<'T> 
JScript does not support generic types and methods.

Type Parameters

  • T

Parameters

Return Value

Type: System.IObserver<T>

See Also

Reference

Observer Class

Synchronize Overload

System.Reactive Namespace