37 lines
1.0 KiB
C#
37 lines
1.0 KiB
C#
|
// 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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|