external/rx/Rx/NET/Source/Tests.System.Reactive/Dummies/DummyObservable.cs
raw| 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 | |
| 5 | namespace ReactiveTests.Dummies |
| 6 | { |
| 7 | class DummyObservable<T> : IObservable<T> |
| 8 | { |
| 9 | public static readonly DummyObservable<T> Instance = new DummyObservable<T>(); |
| 10 | |
| 11 | DummyObservable() |
| 12 | { |
| 13 | } |
| 14 | |
| 15 | public IDisposable Subscribe(IObserver<T> observer) |
| 16 | { |
| 17 | throw new NotImplementedException(); |
| 18 | } |
| 19 | } |
| 20 | } |