Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Commit fc5f4cc

Browse files
committed
Forgot mention of PeriodicTimer.
1 parent 6ab8734 commit fc5f4cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ITimer.Documentation/Content/Welcome.aml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public void ConfigureServices(IServiceCollection services)
9696
</section>
9797

9898
<section>
99-
<title>ThreadingTimer and SystemTimer</title>
99+
<title>ThreadingTimer, SystemTimer and PeriodicTimer</title>
100100
<content>
101101
<para>
102102
As mentioned before, these timers encapsulate (or "wrap") the <codeEntityReference linkText="System.Threading.Timer">T:System.Threading.Timer</codeEntityReference> and <codeEntityReference linkText="System.Timers.Timer">T:System.Timers.Timer</codeEntityReference> timers and provide a unified interface because they both implement the <codeEntityReference>T:ITimer.ISignaler</codeEntityReference> interface. The difference between the first two is perhaps best explained by <externalLink>

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ For usage in unittests, see the [`TestTimer`](#testtimer) below.
6464

6565
The [`ISignaler`](ITimer/ISignaler.cs) interface defines the `Start()` and `Stop()` methods to start and stop the timer raise the `Elapsed` event. The `Interval` property gets the timer's interval and the `AutoReset` property returns whether or not the timer should fire the event once and then stop, or keep going in a fire event / wait cycle.
6666

67-
## ThreadingTimer and SystemTimer
67+
## ThreadingTimer, SystemTimer and PeriodicTimer
6868

6969
As mentioned before, these timers encapsulate (or "wrap") the [`System.Threading.Timer`](https://docs.microsoft.com/en-us/dotnet/api/system.threading.timer) and [`System.Timers.Timer`](https://docs.microsoft.com/en-us/dotnet/api/system.timers.timer) timers and provide a unified interface because they both implement the [`ISignaler`](ITimer/ISignaler.cs) interface. The difference between the first two is perhaps best explained by [Jon Skeet](https://jonskeet.uk/csharp/threads/timers.html) (archived version [here](https://archive.is/eXhQS) or [here](https://web.archive.org/web/20190303143427/http://jonskeet.uk/csharp/threads/timers.html)). The [`System.Windows.Forms.Timer`](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.timer) is not provided by this library but should be simple to implement.
7070

0 commit comments

Comments
 (0)