diff options
author | Atsushi Eno <atsushieno@veritas-vos-liberabit.com> | 2012-11-12 22:47:31 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@veritas-vos-liberabit.com> | 2012-11-12 22:52:17 +0400 |
commit | d1174f3f8979321a9182925df460e07e08157b41 (patch) | |
tree | d16fb2fc191bf68ff0e2aac600adf71aba8cad01 /Rx.NET/Tests.System.Reactive/Dummies/DummyObserver.cs | |
parent | d90a52595e24b1216c89f6cb5f245262db1810ae (diff) |
partial import of ca05fdeb565e: Reactive Extensions OSS V1.0
Diffstat (limited to 'Rx.NET/Tests.System.Reactive/Dummies/DummyObserver.cs')
-rw-r--r-- | Rx.NET/Tests.System.Reactive/Dummies/DummyObserver.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Rx.NET/Tests.System.Reactive/Dummies/DummyObserver.cs b/Rx.NET/Tests.System.Reactive/Dummies/DummyObserver.cs new file mode 100644 index 0000000..2a909f8 --- /dev/null +++ b/Rx.NET/Tests.System.Reactive/Dummies/DummyObserver.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. + +using System; + +namespace ReactiveTests.Dummies +{ + class DummyObserver<T> : IObserver<T> + { + public static readonly DummyObserver<T> Instance = new DummyObserver<T>(); + + DummyObserver() + { + } + + public void OnNext(T value) + { + throw new NotImplementedException(); + } + + public void OnError(Exception exception) + { + throw new NotImplementedException(); + } + + public void OnCompleted() + { + throw new NotImplementedException(); + } + } +} |