Class UnitySystemConfigurationInstaller
Unity-specific installer for system configuration services and related components.
Extends the base installer to provide Unity-specific implementations and settings resolution.
Implements the Foundation Installer pattern to set up system configuration functionality within the Unity environment.
Namespace: Serenity.SystemConfiguration.Installation.Installers
Assembly: Serenity.UnitySystemConfiguration.Installation.dll
Syntax
public class UnitySystemConfigurationInstaller : SystemConfigurationInstaller, IFoundationInstaller, IInstaller
Constructors
UnitySystemConfigurationInstaller()
Declaration
public UnitySystemConfigurationInstaller()
Methods
GetService()
Gets the created system configuration service instance.
Provides access to the service for external components.
Declaration
public ISystemConfigurationService GetService()
Returns
| Type | Description |
|---|---|
| ISystemConfigurationService | The system configuration service instance |
Install(SystemConfigurationInstallerInstallInput)
Installs the Unity system configuration service using the provided input data transfer object.
Resolves settings, creates the service, and sets up provider and store references.
Implements the installation logic specific to the Unity environment.
Declaration
public override void Install(SystemConfigurationInstallerInstallInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemConfigurationInstallerInstallInput | input | The installation input data transfer object containing required services and settings. |
InstallCollectTask(ISystemConfigurationProvider, ISystemConfigurationSnapshotStore)
Creates the system configuration collection task.
Instantiates the task that collects system configuration data.
Declaration
protected override ITask InstallCollectTask(ISystemConfigurationProvider provider, ISystemConfigurationSnapshotStore store)
Parameters
| Type | Name | Description |
|---|---|---|
| ISystemConfigurationProvider | provider | The system configuration provider |
| ISystemConfigurationSnapshotStore | store | The system configuration snapshot store |
Returns
| Type | Description |
|---|---|
| ITask | The configured collection task |
InstallProvider()
Installs a null provider and store as the Unity service implements both.
Declaration
protected override ISystemConfigurationProvider InstallProvider()
Returns
| Type | Description |
|---|---|
| ISystemConfigurationProvider | Null provider instance |
InstallStore()
Installs a null store as the Unity service implements both.
Declaration
protected override ISystemConfigurationSnapshotStore InstallStore()
Returns
| Type | Description |
|---|---|
| ISystemConfigurationSnapshotStore | Null store instance |