external/rx/Rx/NET/Source/System.Reactive.Interfaces/Reactive/Concurrency/IStopwatch.cs
raw| 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 | |
| 5 | namespace System.Reactive.Concurrency |
| 6 | { |
| 7 | /// <summary> |
| 8 | /// Abstraction for a stopwatch to compute time relative to a starting point. |
| 9 | /// </summary> |
| 10 | public interface IStopwatch |
| 11 | { |
| 12 | /// <summary> |
| 13 | /// Gets the time elapsed since the stopwatch object was obtained. |
| 14 | /// </summary> |
| 15 | TimeSpan Elapsed { get; } |
| 16 | } |
| 17 | } |