Method | Description | |
---|---|---|
ChangeTimer ( System.TimeSpan period, System.TimeSpan dayOffset = default(TimeSpan) ) : void |
Modifies the timer. Note, it takes some time for this timer to go into effect.
|
|
Create ( System.TimeSpan period, System.TimeSpan dayOffset = default(TimeSpan) ) : |
Creates a EventTimer on the specified interval.
|
|
CreateHours ( double periodInHours, double dayOffsetInHours ) : |
Creates a EventTimer on the specified interval.
|
|
CreateMinutes ( double periodInMinutes, double dayOffsetInMinutes ) : |
Creates a EventTimer on the specified interval.
|
|
CreateSeconds ( double periodInSecond, double dayOffsetInSecond ) : |
Creates a EventTimer on the specified interval.
|
|
EventTimer ( System.TimeSpan period, System.TimeSpan dayOffset ) : System |
Creates a EventTimer
|
|
RestartTimer ( ) : void | ||
RunNow ( ) : void |
Immediately executes the timer, not waiting for the elapsed interval.
|
|
Start ( ThreadingMode mode = ThreadingMode.ThreadPool ) : void |
Starts the watching
|
|
TimerRunning ( object sender, EventArgs |
This timer will reliably fire the directory polling every interval.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
public ChangeTimer ( System.TimeSpan period, System.TimeSpan dayOffset = default(TimeSpan) ) : void | ||
period | System.TimeSpan | |
dayOffset | System.TimeSpan | |
return | void |
public static Create ( System.TimeSpan period, System.TimeSpan dayOffset = default(TimeSpan) ) : |
||
period | System.TimeSpan | How often the time will reset |
dayOffset | System.TimeSpan | The offset as represented in UTC time when the event should fire |
return |
public static CreateHours ( double periodInHours, double dayOffsetInHours ) : |
||
periodInHours | double | How often the time will reset |
dayOffsetInHours | double | The offset as represented in UTC time when the event should fire |
return |
public static CreateMinutes ( double periodInMinutes, double dayOffsetInMinutes ) : |
||
periodInMinutes | double | How often the time will reset |
dayOffsetInMinutes | double | The offset as represented in UTC time when the event should fire |
return |
public static CreateSeconds ( double periodInSecond, double dayOffsetInSecond ) : |
||
periodInSecond | double | How often the time will reset |
dayOffsetInSecond | double | The offset as represented in UTC time when the event should fire |
return |
public EventTimer ( System.TimeSpan period, System.TimeSpan dayOffset ) : System | ||
period | System.TimeSpan | |
dayOffset | System.TimeSpan | |
return | System |
public Start ( ThreadingMode mode = ThreadingMode.ThreadPool ) : void | ||
mode | ThreadingMode | |
return | void |
public TimerRunning ( object sender, EventArgs |
||
sender | object | |
e | EventArgs |
|
return | void |