// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more 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(); } } }