Class TimerInstaller
Abstract installer class for setting up timer services and factories.
Implements
Inherited Members
Namespace: Serenity.Timer.Installation.Installers
Assembly: Serenity.Timer.Installation.dll
Syntax
public abstract class TimerInstaller : IInstaller
Constructors
TimerInstaller()
Declaration
protected TimerInstaller()
Fields
_service
The timer service instance.
Declaration
protected ITimerService _service
Field Value
| Type | Description |
|---|---|
| ITimerService | The timer service instance. |
_serviceFactory
The service factory for creating timer services.
Declaration
protected ITimerServiceFactory _serviceFactory
Field Value
| Type | Description |
|---|---|
| ITimerServiceFactory | The timer service factory instance. |
_timerFactory
The factory for creating timer instances.
Declaration
protected TimerFactory _timerFactory
Field Value
| Type | Description |
|---|---|
| TimerFactory | The timer factory instance. |
Methods
GetService()
Gets the installed timer service.
Declaration
public ITimerService GetService()
Returns
| Type | Description |
|---|---|
| ITimerService | The installed timer service instance. |
Install(ILogService)
Installs the timer services and factories.
Declaration
public abstract void Install(ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | logService |
InstallService(ILogService)
Installs the timer service.
Declaration
protected abstract ITimerService InstallService(ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | logService |
Returns
| Type | Description |
|---|---|
| ITimerService | The timer service instance. |
InstallServiceFactory()
Installs the timer service factory.
Declaration
protected abstract ITimerServiceFactory InstallServiceFactory()
Returns
| Type | Description |
|---|---|
| ITimerServiceFactory | The timer service factory instance. |
InstallTimerFactory()
Installs the timer factory.
Declaration
protected abstract TimerFactory InstallTimerFactory()
Returns
| Type | Description |
|---|---|
| TimerFactory | The timer factory instance. |