TimerExtensions
Wisej.Web.Markup.TimerExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.TimerExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds extension methods to the class.
Sets the Enabled property of the specified .
TTimer
timer
The timer for which to set the Enabled property.
enabled
A boolean indicating whether the timer is enabled.
Returns: . The modified timer with the updated Enabled property.
This method allows you to enable or disable the timer.
TTimer
timer
The timer for which to set the interval.
interval
The interval to set for the timer.
This method allows you to specify the interval between timer events.
TTimer
timer
The timer to attach the event handler to.
action
An action to execute when the timer ticks.
This method allows you to execute a custom action whenever the timer ticks.
TTimer
timer
The timer for which to set the Tag property.
obj
The object to associate with the timer.
This method allows you to associate an arbitrary object with the timer.
The type of the timer, must inherit from .
Sets the interval for the specified .
The type of the timer, must inherit from .
Returns: . The modified timer with the updated interval.
Attaches an event handler for the Tick event of the specified .
The type of the timer, must inherit from .
Returns: . The modified timer with the attached Tick event handler.
Sets the Tag property of the specified .
The type of the timer, must inherit from .
Returns: . The modified timer with the updated Tag property.