Welcome to mirror list, hosted at ThFree Co, Russian Federation.

DummyObserver.cs « Dummies « Tests.System.Reactive « Rx.NET - github.com/mono/rx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a909f8ee142fdfb2584e66685a64b86f7aeaf45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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();
        }
    }
}