Class NullTimer
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Implementation of the ITimer interface that won't raise any Elapsed event regardless of settings.
Inheritance
System.Object
NullTimer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework.Timers.Internal
Assembly: EPiServer.Framework.dll
Version: 11.20.7Syntax
public sealed class NullTimer : ITimer, IDisposable
Fields
Instance
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Singleton instance of the NullTimer.
Declaration
public static readonly NullTimer Instance
Field Value
Type | Description |
---|---|
NullTimer |
Properties
AutoReset
Declaration
public bool AutoReset { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Enabled
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Interval
Declaration
public double Interval { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Dispose()
Declaration
public void Dispose()
Events
Elapsed
Declaration
public event EventHandler<ElapsedEventArgs> Elapsed
Event Type
Type | Description |
---|---|
System.EventHandler<ElapsedEventArgs> |
Implements
System.IDisposable