// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using System.Reactive.Concurrency; namespace ReactiveTests.Dummies { class DummyScheduler : IScheduler { public static readonly DummyScheduler Instance = new DummyScheduler(); DummyScheduler() { } public DateTimeOffset Now { get { return DateTimeOffset.MinValue; } } public IDisposable Schedule(TState state, Func action) { throw new NotImplementedException(); } public IDisposable Schedule(TState state, TimeSpan dueTime, Func action) { throw new NotImplementedException(); } public IDisposable Schedule(TState state, DateTimeOffset dueTime, Func action) { throw new NotImplementedException(); } } }