31 lines
699 B
C#
31 lines
699 B
C#
// 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();
|
|
}
|
|
}
|
|
}
|