浏览代码

Adding IClock.

Bart De Smet 8 年之前
父节点
当前提交
cac31d40e9
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      AsyncRx.NET/System.Reactive.Async/System/Reactive/Concurrency/IClock.cs

+ 11 - 0
AsyncRx.NET/System.Reactive.Async/System/Reactive/Concurrency/IClock.cs

@@ -0,0 +1,11 @@
+// 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. 
+
+namespace System.Reactive.Concurrency
+{
+    public interface IClock
+    {
+        DateTimeOffset Now { get; }
+    }
+}