SaaS CMS has officially launched! Learn more now.

Class NullTimer

Implementation of the ITimer interface that won't raise any Elapsed event regardless of settings.

Inheritance
System.Object
NullTimer
Implements
System.IDisposable
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
Assembly: EPiServer.Framework.dll
Version: 8.11.0
Syntax
public sealed class NullTimer : ITimer, IDisposable

Fields

Instance

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