Debian Codegraph @

external/rx/Rx/NET/Source/Tests.System.Reactive/Dummies/DummyObserver.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 DummyObserver<T> : IObserver<T>
8 {
9 public static readonly DummyObserver<T> Instance = new DummyObserver<T>();
10
11 DummyObserver()
12 {
13 }
14
15 public void OnNext(T value)
16 {
17 throw new NotImplementedException();
18 }
19
20 public void OnError(Exception exception)
21 {
22 throw new NotImplementedException();
23 }
24
25 public void OnCompleted()
26 {
27 throw new NotImplementedException();
28 }
29 }
30 }