21 lines
711 B
C#
21 lines
711 B
C#
|
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
|
|||
|
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Reactive;
|
|||
|
|
|||
|
namespace Microsoft.Reactive.Testing
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Observer that records received notification messages and timestamps those.
|
|||
|
/// </summary>
|
|||
|
/// <typeparam name="T">The type of the elements in the sequence.</typeparam>
|
|||
|
public interface ITestableObserver<T> : IObserver<T>
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Gets recorded timestamped notification messages received by the observer.
|
|||
|
/// </summary>
|
|||
|
IList<Recorded<Notification<T>>> Messages { get; }
|
|||
|
}
|
|||
|
}
|