Class GlobalInstaller
Abstract base class for installing global services.
Implements
Inherited Members
Namespace: Serenity.Global.Installation.Installers
Assembly: Serenity.Global.Installation.dll
Syntax
public abstract class GlobalInstaller : IInstaller
Constructors
GlobalInstaller()
Declaration
protected GlobalInstaller()
Fields
_appReadinessGate
Declaration
protected IAppReadinessGate _appReadinessGate
Field Value
| Type | Description |
|---|---|
| IAppReadinessGate | The application readiness gate used to manage app readiness state. |
_assetLocator
Declaration
protected IAssetLocator _assetLocator
Field Value
| Type | Description |
|---|---|
| IAssetLocator | The asset locator used for finding assets. |
_service
Declaration
protected IGlobalService _service
Field Value
| Type | Description |
|---|---|
| IGlobalService | The installed global service. |
_serviceFactory
Declaration
protected IGlobalServiceFactory _serviceFactory
Field Value
| Type | Description |
|---|---|
| IGlobalServiceFactory | The factory for creating global services. |
_stringArgumentResolver
Declaration
protected IStringArgumentResolver _stringArgumentResolver
Field Value
| Type | Description |
|---|---|
| IStringArgumentResolver | The string argument resolver used for resolving string arguments. |
Methods
GetAppReadinessGate()
Gets the application readiness gate.
Declaration
public IAppReadinessGate GetAppReadinessGate()
Returns
| Type | Description |
|---|---|
| IAppReadinessGate | The application readiness gate. |
GetAssetLocator()
Gets the asset locator.
Declaration
public IAssetLocator GetAssetLocator()
Returns
| Type | Description |
|---|---|
| IAssetLocator | The asset locator. |
GetService()
Gets the installed global service.
Declaration
public IGlobalService GetService()
Returns
| Type | Description |
|---|---|
| IGlobalService | The installed global service. |
GetStringArgumentResolver()
Gets the string argument resolver.
Declaration
public IStringArgumentResolver GetStringArgumentResolver()
Returns
| Type | Description |
|---|---|
| IStringArgumentResolver | The string argument resolver. |
Install(GlobalInstallerInstallInput)
Installs global services using the provided input data transfer object.
Declaration
public abstract void Install(GlobalInstallerInstallInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| GlobalInstallerInstallInput | input | The input data transfer object containing installation parameters. |
InstallFactories()
Installs necessary factories for creating services.
Declaration
protected abstract void InstallFactories()