次の方法で共有


Observer.Synchronize<T> メソッド (IObserver<T>, Object)

Namespace:System.Reactive
アセンブリ: System.Reactive (System.Reactive.dll)

構文

'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.

型パラメーター

  • T

パラメーター

戻り値

種類: System.IObserver<T>

参照

リファレンス

オブザーバー クラス

Synchronize Overload

System.Reactive 名前空間