Interface ISystemConfigurationServiceFactory
Factory interface for creating instances of ISystemConfigurationService.
Namespace: Serenity.SystemConfiguration.Application.Interfaces
Assembly: Serenity.SystemConfiguration.Application.dll
Syntax
public interface ISystemConfigurationServiceFactory
Remarks
Implementations should be serializable by the foundation.
Methods
CreateService(ILogService, string, ISystemConfigurationSettings, IGameSettingsService)
Creates an instance of ISystemConfigurationService with the specified parameters.
Declaration
ISystemConfigurationService CreateService(ILogService logService, string serviceName, ISystemConfigurationSettings settings, IGameSettingsService gameSettingsService = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | logService | The log service for logging purposes. |
| string | serviceName | The name of the service instance (for logging/telemetry). |
| ISystemConfigurationSettings | settings | The system configuration settings. |
| IGameSettingsService | gameSettingsService | Optional game settings service for configuration purposes. |
Returns
| Type | Description |
|---|---|
| ISystemConfigurationService | An instance of ISystemConfigurationService. |