Interface ITimer
Interface that redefines the System.Timers.Timer class core functionality.
Inherited Members
System.IDisposable.Dispose()
Namespace: EPiServer.Framework.Timers
Assembly: EPiServer.Framework.dll
Version: 9.12.2Syntax
public interface ITimer : IDisposable
Properties
AutoReset
Gets or sets a value indicating whether the timer should start a new interval after the first interval has completed.
Declaration
bool AutoReset { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Enabled
Gets or sets a value indicating whether this ITimer is enabled and should raise the Elapsed event at the end of the currently set interval.
Declaration
bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Interval
Gets or sets the interval in milliseconds at which this ITimer should raise the Elapsed event.
Declaration
double Interval { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The interval in milliseconds. |
Events
Elapsed
Occurs when the timer interval has elapsed.
Declaration
event EventHandler<ElapsedEventArgs> Elapsed
Event Type
Type | Description |
---|---|
System.EventHandler<ElapsedEventArgs> |