Interface ITimerServiceFactory
Factory interface for creating ITimerService instances.
Namespace: Serenity.Timer.Application.Interfaces
Assembly: Serenity.Timer.Application.dll
Syntax
public interface ITimerServiceFactory
Methods
CreateService(string, TimerFactory, ILogService)
Creates an ITimerService instance with the specified service name and timer factory.
Declaration
ITimerService CreateService(string serviceName, TimerFactory timerFactory, ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| string | serviceName | The name of the timer service. |
| TimerFactory | timerFactory | The factory used to create timer instances. |
| ILogService | logService | The log service to be used by the timer service. |
Returns
| Type | Description |
|---|---|
| ITimerService | An instance of ITimerService. |