定义记录收到的通知的观察程序。
Namespace:Microsoft.Reactive.Testing
装配: Microsoft.Reactive.Testing.dll) 中的 Microsoft.Reactive.Testing (
语法
'Declaration
Public Interface ITestableObserver(Of T) _
Inherits IObserver(Of T)
'Usage
Dim instance As ITestableObserver(Of T)
public interface ITestableObserver<T> : IObserver<T>
generic<typename T>
public interface class ITestableObserver : IObserver<T>
type ITestableObserver<'T> =
interface
interface IObserver<'T>
end
JScript does not support generic types and methods.
类型参数
- T
ITestableObserver<T> 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
|
消息 | 获取观察者收到的记录的通知。 |
顶部
方法
| 名称 | 说明 | |
|---|---|---|
|
OnCompleted | (继承自 IObserver<T>.) |
|
OnError | (继承自 IObserver<T>.) |
|
OnNext | (继承自 IObserver<T>.) |
顶部
扩展方法
| 名称 | 说明 | |
|---|---|---|
|
AsObserver<T> | 隐藏观察者的标识。 由 Observer.) 定义的 ( |
|
ToNotifier<T> | 从观察者创建通知回调。 由 Observer.) 定义的 ( |
顶部