Share via


ITestableObserver<T> Interface

Defines an observer that records received notifications.

Namespace:  Microsoft.Reactive.Testing
Assembly:  Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

Syntax

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

Type Parameters

  • T

The ITestableObserver<T> type exposes the following members.

Properties

  Name Description
Public property Messages Gets the recorded notifications received by the observer.

Top

Methods

  Name Description
Public method OnCompleted (Inherited from IObserver<T>.)
Public method OnError (Inherited from IObserver<T>.)
Public method OnNext (Inherited from IObserver<T>.)

Top

Extension Methods

  Name Description
Public Extension Method AsObserver<T> Hides the identity of an observer. (Defined by Observer.)
Public Extension Method ToNotifier<T> Creates a notification callback from an observer. (Defined by Observer.)

Top

See Also

Reference

Microsoft.Reactive.Testing Namespace