This class extends the Stopwatch (in the standard C# library) so that an initial value for elapsed time can be specified. This initial value acts as an offset for the Stopwatch's real elapsed time.
More...
|
| OffsetStopwatch (TimeSpan offset) |
| Creates a new instance of OffsetStopwatch
|
|
|
TimeSpan | TimeOffset |
| The elapsed time offset applied to the original Elapsed variable in order to return the offsetted elapsed time in OffsetElapsedTime
|
|
|
TimeSpan | OffsetElapsedTime [get, set] |
| The elapsed time after applying the time offset defined in TimeOffset
|
|
This class extends the Stopwatch (in the standard C# library) so that an initial value for elapsed time can be specified. This initial value acts as an offset for the Stopwatch's real elapsed time.
◆ OffsetStopwatch()
Jumpvalley.Timing.OffsetStopwatch.OffsetStopwatch |
( |
TimeSpan | offset | ) |
|
|
inline |
Creates a new instance of OffsetStopwatch
- Parameters
-
offset | The time offset to apply |
The documentation for this class was generated from the following file: