1 // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. 2 3 using System; 4 using System.Collections.Generic; 5 using System.Reactive; 6 7 namespace Microsoft.Reactive.Testing 8 { 9 /// <summary> 10 /// Observer that records received notification messages and timestamps those. 11 /// </summary> 12 /// <typeparam name="T">The type of the elements in the sequence.</typeparam> 13 public interface ITestableObserver<T> : IObserver<T> 14 { 15 /// <summary> 16 /// Gets recorded timestamped notification messages received by the observer. 17 /// </summary> 18 IList<Recorded<Notification<T>>> Messages { get; } 19 } 20 } 21