| 1 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. |
| 2 |
|
| 3 |
using System; |
| 4 |
using System.Reactive.Concurrency; |
| 5 |
|
| 6 |
namespace ReactiveTests.Dummies |
| 7 |
{ |
| 8 |
class DummyScheduler : IScheduler |
| 9 |
{ |
| 10 |
public static readonly DummyScheduler Instance = new DummyScheduler(); |
| 11 |
|
| 12 |
DummyScheduler() |
| 13 |
{ |
| 14 |
} |
| 15 |
|
| 16 |
public DateTimeOffset Now |
| 17 |
{ |
| 18 |
get { return DateTimeOffset.MinValue; } |
| 19 |
} |
| 20 |
|
| 21 |
public IDisposable Schedule<TState>(TState state, Func<IScheduler, TState, IDisposable> action) |
| 22 |
{ |
| 23 |
throw new NotImplementedException(); |
| 24 |
} |
| 25 |
|
| 26 |
public IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action) |
| 27 |
{ |
| 28 |
throw new NotImplementedException(); |
| 29 |
} |
| 30 |
|
| 31 |
public IDisposable Schedule<TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action) |
| 32 |
{ |
| 33 |
throw new NotImplementedException(); |
| 34 |
} |
| 35 |
} |
| 36 |
} |