Interface TimerFactory
Factory interface for creating ITimer instances.
Namespace: Serenity.Timer.Application.Interfaces
Assembly: Serenity.Timer.Application.dll
Syntax
public interface TimerFactory
Methods
CreateTimer(string, string)
Creates an ITimer instance with the specified identifier and name.
Declaration
ITimer CreateTimer(string id, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The unique identifier for the timer. |
| string | name | The name of the timer. |
Returns
| Type | Description |
|---|---|
| ITimer | An instance of ITimer. |