Table of Contents

Property Enabled

Namespace
KZDev.PrimeTime
Assembly
KZDev.PrimeTime.dll

Enabled

Gets or sets the enabled state of this timer registration. When this is set to false, the State will be set to Disabled and no further callbacks will be made. Changing this to true will cause the timer registration to be re-enabled which has the effect of resetting and restarting the timer.

bool Enabled { get; set; }

Property Value

bool

Remarks

This will return false if the timer is inactive (IsActive is false).

Trying to set this to true when the timer is inactive will have no effect unless the timer State is Completed, in which case the timer will be restarted.