| 123456789101112131415161718192021222324252627282930313233343536 |
- // 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>(TState state, Func<IScheduler, TState, IDisposable> action)
- {
- throw new NotImplementedException();
- }
- public IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action)
- {
- throw new NotImplementedException();
- }
- public IDisposable Schedule<TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action)
- {
- throw new NotImplementedException();
- }
- }
- }
|