Observer.Synchronize<T> 方法 (IObserver<T>、Object)
Namespace:System.Reactive
装配: System.Reactive.dll) 中的 System.Reactive (
语法
'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>
- 门
类型: System.Object
返回值
类型: System.IObserver<T>